Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Having a problem with a T-SQL command
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00480290
Message ID:
00480496
Vues:
7
>However, when I attempt to discover the primary key field which is a uniqueidentifer type, and insert a new record into it, I keep getting this error from SQL Server telling me that the temporary table does not exist.

There are two types of temporary tables. Local temporary tables are scoped to the connection that created them. When the connection is closed, the temporary table will be dropped. Global temporary tables are available to all connections but will be droppped when the connection that created it is closed.

Also, temporary tables created within stored procedures will automatically be dropped with the stored procedures completes execution.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform