Discussion in 'General Developer Questions' started by vamsimusunuru, Jun 29, 2006.
What is @@ Called in @@ERROR?
variables prefixed with @@ are global variables
Also refer these
Failing to plan is Planning to fail
I have a doubt...
I created a variable @@variable1 and assigned some value in a SP (say proc1). i called proc1 from some other sp (say proc2), and used that variable @@variable1 in proc2 with out declaring it and it throwed an error saying, the @@variable1 is not declared.
what is exact use of allowing a declaration like that if i cannot use it from outside?
"It is easy to write code for a spec and walk in water, provided, both are freezed..."
IIRC, something og that is explained here:http://www.sommarskog.se/share_data.html
Microsoft SQL Server MVP
Heute schon gebloggt?http://www.insidesql.de/blogs
Separate names with a comma.