Am I correct in saying it is TSQL? I am a novice at database scripting. Is this called scripting? I am a novice at this, really I am.
I just wrote a stored procedure in SQL Server Management Studio:
CREATE PROCEDURE dbo.LogTable_Count
@Count INT OUT
AS
SELECT @Count = Count(ExperimentId) FROM LogTable
GO
I would like to test the script by calling something like:
exec logtable_count
but management studio says it expects a parameter @Count, which was not supplied. How do I write a couple of ad hoc lines to test this?