Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to drop all tables
Message
 
To
26/02/2008 18:31:27
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01296633
Message ID:
01296637
Views:
7
>The only way I have found so far is to execute a script at the database level to include a DROP TABLE line for every table I have in my database. But, instead of having 120 lines, I was wondering if there would have been something like DROP TABLE ALL.

If you are going to drop all tables I assume you already have dropped all stored procedures/functions/triggers as well.

If that is the case, it might be easier to drop and recreate the database?
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform