I'm having a problem OUTPUTing a variable in my assembly.
- Do I need to add a "out string var1" to the parameter list of the function in C#? I get an error - something related to var1 not being set...
- I tried parameter.Direction = ParameterDirection.Output
- I can't find any good examples
Edit: My assembly SP currently returns a recordset.... I want it to OUTPUT some variables so that I can use them in another SP where this is called from
I.E.
DECLARE @var1 int
EXEC dbo.MyAssemblySP @var1 OUTPUT
PRINT @var1