how can drop multiple table in sql server
how can drop multiple table in sql server
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 23, 2015, 11:00 PM
please read my article
http://www.c-sharpcorner.com/UploadFile/ff2f08/delete-all-table-data-within-a-database-in-sql-server/
here instead of delete query you can write drop table query.
hope this will help you.
Vikrant MorePosted Feb 23, 2015, 9:57 AM
if you want to drop only few table you can write cursor to drop it.
Nanhe SiddiquePosted Feb 21, 2015, 3:12 AM
for dropping multiple table use this
drop table tablename1,tablename2,tablename....N.