Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't drop temp table
Message
 
 
To
29/03/2005 17:58:32
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00999810
Message ID:
00999812
Views:
22
>When I run the procedure I get:
>There is already an object named '#ASTRA_BOOK' in the database.
>When i type in DROP TABLE #ASTRA_BOOK I get:
>
>Cannot drop the table '#ASTRA_BOOK', because it does not exist in the system catalog.

You cannot have 'CREATE TABLE #ASTRA_BOOK' twice in the same stored procedure even if only one is conditionally executed.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform