Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find a temp table in the schemea...
Message
De
26/06/2000 15:59:34
 
 
À
26/06/2000 10:00:47
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00383257
Message ID:
00384754
Vues:
32
>Ok, so I can truncate rather than drop, but then if I do select into I get an error that the table exists. I guess I would have to use Insert Into Select or such?

Yes.

>
>Also, the first time through the loop I would still need someway to know if the table needed to be created or just truncated and inserted, right?

Right again. You could do the test using OBJECT_ID().

-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