Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to drop all tables
Message
 
À
26/02/2008 18:31:27
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
01296633
Message ID:
01296637
Vues:
8
>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!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform