T-SQL DELETE/DROP all table from database in Microsoft SQL Server

How to delete / drop all tables from database on SQL Server?
-----------------------------------------------------
sp_msforeachtable 'drop table ?'
-----------------------------------------------------
T-SQL DELETE/DROP all table from database in Microsoft SQL Server T-SQL DELETE/DROP all table from database in Microsoft SQL Server Reviewed by Unknown on 7:28 PM Rating: 5

No comments:

Powered by Blogger.