Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Deleting all from all tables in MYSQL

by fishmonger (Chaplain)
on Sep 19, 2012 at 17:02 UTC ( [id://994481]=note: print w/replies, xml ) Need Help??


in reply to Deleting all from all tables in MYSQL

I'd use truncate instead of delete. http://dev.mysql.com/doc/refman/5.0/en/truncate-table.html
  • Comment on Re: Deleting all from all tables in MYSQL

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found