Sky Blueshoes wrote:
> What is the sequel statement to clear an entire table using DBI?

It depends on your database, but typically:

  $dbh->do('delete from some_table');

Some databases support TRUNCATE:

  $dbh->do('truncate some_table');


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to