> But you can do DROP table1; DROP table2; DROP table3; etc.. You can do even better: drop table table1, table2, table3;
:) Best regards, Mikhail. ----- Original Message ----- From: "Arne K. Haaje" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 02, 2004 12:29 PM Subject: Re: dropping multiple tables with one command question > fredag 02. januar 2004, 12:11, skrev Egor Egorov: > > tom poe <[EMAIL PROTECTED]> wrote: > > > What's the command for dropping multiple tables? > > > > > > Example: > > > 12 tables that all start with: > > > phpbb_ > > > > > > What? Well, the install isn't going as planned. I am having to > > > reinstall as I try to work out script path (I think) or some other piece > > > of info that isn't entered correctly, yet. > > > > > > Anyway, DROP TABLE tablename; is one table. I want to drop all the > > > tables without typing them, but using DROP TABLE phpbb*; doesn't work. > > > > You can't use wildcards in the DROP TABLE command. > > But you can do DROP table1; DROP table2; DROP table3; etc.. > > Arne > > -- > -------------------------------- > Arne K. Haaje | www.drlinux.no > Bregneveien 9 | > 1825 Tomter | M: 92 88 44 66 > -------------------------------- > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]