TSQL: Global Script Variable?

Posted by Abs on Stack Overflow See other posts from Stack Overflow or by Abs
Published on 2010-04-22T19:33:38Z Indexed on 2010/04/22 19:43 UTC
Read the original article Hit count: 290

Filed under:
|

Hello all,

I am making use of variables in my TSQL queries. As my script has grown, I have separated each part by GO, now the problem is I need access to variables at the top of my script.

How can I still access these variables?

Hopefully, this is something simple and straightforward.

Thanks all

© Stack Overflow or respective owner

Related posts about tsql

Related posts about sql-server