Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is INLIST() in SQL Server optimized?
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01316947
Message ID:
01317580
Views:
9
>>The same way you would create it in the stored procedure: by sending SELECT INTO or CREATE TABLE from frontend.
>
>Sorry that I can't get this concept wrapped in my head. Are you saying that I can send (in the same SPT connection) to SQL Server a string that will create a temp table and then a SQL Command string that will use this table in a SQL Select?

A local SQL Server temp table is scoped to the current session. It'll exists until you drop it or close connection. So yes, you can create a temp table and then use it on the same connection.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform