RE: [PHP] SQL statement for clearing a table
| From: | Jason Lustig | Date: | Fri, 22 Jun 2001 16:21:40 +0000 |
| Subject: | RE: [PHP] SQL statement for clearing a table | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54898@lists.php.net to get a copy of this message | ||
This SQL statement:
"DELETE FROM myTable;"
That should work... pretty much, unless you give a WHERE statement, it will
do whatever you want (UPDATE, SELECT, DELETE, etc) to every record in the
table.
--Jason