List:General Discussion« Previous MessageNext Message »
From:Mechain Marc Date:January 16 2004 8:08am
Subject:RE: is this possible?
View as plain text  
To drop all tables, yes do a drop database.

To drop all with something like a exclude, no.
What you can do is an export of the tables you don't want to drop, then do a drop database
+ create database + import

Marc.

-----Message d'origine-----
De : Nitin Mehta [mailto:nitinmehta@stripped]
Envoyé : vendredi 16 janvier 2004 06:28
À : mysql@stripped
Objet : is this possible?


hello everybody,

i was wondering, if there's a single command to drop all or selected tables from the
database, something like, where i can give the table names (1-2-3) not to be deleted.

Thanx in advance
Nitin
Thread
is this possible?Nitin Mehta16 Jan
RE: is this possible?Mechain Marc16 Jan
  • Re: is this possible?Nitin Mehta16 Jan