Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Deleting all from all tables in MYSQL

by fishmonger (Chaplain)
on Sep 19, 2012 at 17:02 UTC ( #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
Node Status?
node history
Node Type: note [id://994481]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2016-12-07 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (127 votes). Check out past polls.