Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Deleting all from all tables in MYSQL

by fishmonger (Hermit)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2016-06-29 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (386 votes). Check out past polls.