Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 drop tables...

Author  Topic 

raaj
Posting Yak Master

129 Posts

Posted - 2008-01-31 : 19:51:33
Hi,
Is thr any query to drop around 20 tables at a time????
or shud i need to drop them individually one at a time???

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2008-01-31 : 19:58:26
you would need to drop them one at a time.

you could write a dynamic sql to generate the drop commands for you though to make it easier. be careful though that you do not drop the wrong tables with this method.

also, run a full backup before you do the work. we don't want to see a post from you asking how to recover dropped tables from a system with no backups.



-ec
Go to Top of Page
   

- Advertisement -