TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
DROP all tables from a Database
Suthish Nair
Jan 30, 2012
3.7
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
DROP all tables from a Database
EXEC sp_MSforeachtable @cmd = "DROP TABLE ?"
This hidden stored procedure will drop all tables from existing database.
DROP all tables from a Database
Next Recommended Reading
Insert Values from One Database Table to Another Database Table in SQL Server