Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing all tables
Message
De
29/02/2008 11:16:35
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Removing all tables
Divers
Thread ID:
01297747
Message ID:
01297747
Vues:
73
Recently, I have started a thread about removing all tables from a database. The approach of sp_MsForEachTable was proposed. However, occasionnaly, my server doesn't recognize this stored procedure. I need to have something bullet proof. Another thread I created today was about the ability to check the existence of one particular table and remove it from the database if found. This is also good. Now, I need some code to select all tables from the database and loop delete each of them. Is such a script possible?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform