Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HowTo: Release a Table variable
Message
From
12/01/2005 13:28:32
 
 
To
12/01/2005 12:02:22
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00976391
Message ID:
00976483
Views:
15
Hi, Fabio...

As Bonnie stated, table variables only exist for the scope of the SP. They have the same general scope as any other variable – they are automatically cleared at the end of a procedure or function.

Unless there's something I'm not aware of, a table variable can't be released before the end of the procedure.

The following is an excellent link from Microsoft on table variables...

http://support.microsoft.com/default.aspx?scid=kb;en-us;305977

Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform