Re: DROP TABLE IF EXISTS
| From: | Pat | Date: | Sun, 19 Sep 2004 16:24:11 +0000 |
| Subject: | Re: DROP TABLE IF EXISTS | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197192@lists.php.net to get a copy of this message | ||
Maybe something like this:
http://dev.mysql.com/doc/mysql/en/TRUNCATE.html
"John Taylor-Johnston" <taylorjo@CollegeSherbrooke.qc.ca> wrote in message
news:414BA3E5.3FC560DD@CollegeSherbrooke.qc.ca...
> MySQL question:
>
> DROP TABLE IF EXISTS
>
> Instead of dropping the table, I want to truncate the table if it contains
something. ANyone know of a way? I couldn't find anything under truncate in
the manual.