Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is INLIST() in SQL Server optimized?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01316947
Message ID:
01317580
Vues:
10
>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform