Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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...)


Comment on Re: Easy way to clear a mysql table?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-08-01 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls