Posted by JLavalley on 12/15/05 18:14
>Why should it work?<
What kind of question is that? Not relevant here. I asked why it
doesn't...
thank you for your response, not only did you solve my problem (using
"exec") but you educated me on the fact that I can't use variables for
object names in most places.
PS.
It should work because it's much more intuitive than having to create
and execute a string of the same command.
It should work because that would be consistant with other T-SQL
commands
[Back to original message]
|