Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing all tables
Message
From
29/02/2008 11:16:35
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Removing all tables
Miscellaneous
Thread ID:
01297747
Message ID:
01297747
Views:
74
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
Next
Reply
Map
View

Click here to load this message in the networking platform