This question should be really stupid, but I have not found an answer yet.
I am making a C # program that dynamically writes a script to run on SQL Server. I declared two variables that get the values returned from two calls to exec 'procedure_name'.
In the next script block, I want these variables to be set to zero.
How to do this using SET ?
will there be something like this:
SET @a, @b = 0?
source
share