Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking if a table exists
Message
 
 
To
29/02/2008 10:56:26
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01297733
Message ID:
01297736
Views:
11
This message has been marked as the solution to the initial question of the thread.
>What would be the proper code to use here to check if a table exist?
>
>
>IF EXISTS(...)
>   DROP TABLE ArchiveRetrieval
>GO
>
IF object_id('ArchiveRetrieval') IS NOT NULL
...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform