Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find a temp table in the schemea...
Message
From
26/06/2000 15:59:34
 
 
To
26/06/2000 10:00:47
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00383257
Message ID:
00384754
Views:
38
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform