No
It should be like this
I did not attach the SQL string because i don't know what exactly you are trying to do.
This is just the call for the string with the respective parametyers
declare @EBOID int
sp_executesql @SQLstring,@params='@EBOID int',@EBOID=@EBOID OUTPUT
I know that it is not documented by Microsoft but you can declare in among the parameters used in the dynamic SQL Output parameters as well as input.
You just have to declare a parameter which will store the value returned by the dynamic SQl
@Myparam = @MyparamLocal OUTPUT
You will be able to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.