Re: SQL statement for clearing a table
| From: | py | Date: | Fri, 22 Jun 2001 11:36:22 +0000 |
| Subject: | Re: SQL statement for clearing a table | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54901@lists.php.net to get a copy of this message | ||
if you have a numbered primary key,
delete from table where primary_key > 0 ?
(to be handled with care....)
py
----- Original Message -----
From: Wilbert Enserink <wilbert@pdd.nl>
To: <php-general@lists.php.net>
Sent: Friday, June 22, 2001 1:17 PM
Subject: [PHP] SQL statement for clearing a table
> Hi all,
>
> anybody knows the mysql statement for clearing the contents of a table and
> lieving the table itself intact?
>
> Wilbert
>
> -------------------------
> Pas de Deux
> Van Mierisstraat 25
> 2526 NM Den Haag
> tel 070 4450855
> fax 070 4450852
> http://www.pdd.nl
> info@pdd.nl
> -------------------------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>