A situation has arisen where I would like to be able to run the folloing kind of command.
I have to build the statement up in a string and execute it. I also have to pass the returned figure into a seperate variable.
Ideally I would like to be able to run :
select @value=exec(@SQLSTRING)
but...
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.