Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can DECLARE Static Connection variables ?
Message
From
12/05/2003 05:28:41
 
 
To
05/05/2003 10:35:29
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00784929
Message ID:
00787227
Views:
21
Hi!

For this purpose, I usually create temporary table with only one record - one field here match to one variable like you mentioned. Query to it is pretty quick.

Anyway, for inserting large number of records, I would also follow BCP solution, that is the quickest approach for data transfer (after copying the entire SQL database file as is, of course).



>HI
>
>I uses DECLARE @var on Batch command.
>
>I can DECLARE @Table ( Batch Variable Table ).
>I can CREATE #Table ( Connection Temporary Table ).
>I can CREATE ##Table ( Global Temporary Table ).
>
>I need DECLARE @var DATATYPE STATIC ( Connection Static Variable ).
>
>Exists this possibility?
>
>Fabio
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform