Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OK - how do you do this
Message
De
28/12/2000 14:14:10
 
 
À
28/12/2000 10:23:32
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00457333
Message ID:
00457503
Vues:
24
Ken,

It is true that any temp. tables created within dynamic sql are scoped to the dynamic sql. BUT, if the temp table exists BEFORE the dynamic sql, it is within scope:

CREATE TABLE #x (c int)

EXECUTE ('insert into c values (1)')

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

Click here to load this message in the networking platform