Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 surveying the Monastery: (4)
As of 2017-05-30 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?