Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Easy way to clear a mysql table?

by erix (Vicar)
on Sep 08, 2011 at 14:00 UTC ( #924815=note: print w/replies, xml ) Need Help??


in reply to Easy way to clear a mysql table?

> my $data = qq(DELTE * FROM tablename);

tpyo: it says DELTE instead of DELETE...

(And maybe TRUNCATE is useful for your case...)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924815]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-01-23 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (192 votes). Check out past polls.