DROP all tables from a DatabaseSuthish Nair14yPublished Jan 30, 2012, 12:00 AMUpdated Jan 30, 2012, 4:07 AM4.2k00Reactions×25Blog EXEC sp_MSforeachtable @cmd = "DROP TABLE ?"This hidden stored procedure will drop all tables from existing database.CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.