vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All, How do I delete all the rows of all the tables(but not table) in the database at one shot. Regards, Ravi K The information contained in this electronic message and any attachments tothis message are intended for the exclusive use of the addressee(s) andmay contain proprietary, confidential or privileged information. If youare not the intended recipient, you should not disseminate, distribute orcopy this e-mail. Please notify the sender immediately and destroy allcopies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipientshould check this email and any attachments for the presence of viruses.The company accepts no liability for any damage caused by any virustransmitted by this email. www.wipro.com |
| |||
| ravi.karatagi@wipro.com wrote: > Hi All, > > How do I delete all the rows of all the tables(but not > table) in the database at one shot. > > > > > Regards, > > Ravi K > Hi - Please see http://dev.mysql.com/doc/refman/5.0/en/truncate.html Thanks -dant |
| |||
| If its one time .. i will suggest to take a mysqldump of table structure only and drop the database import the backup . ravi.karatagi@wipro.com wrote: >Hi All, > > How do I delete all the rows of all the tables(but not >table) in the database at one shot. > > > >Regards, > >Ravi K > > > > > > >The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. > >WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. > >www.wipro.com > |
| ||||
| DELETE FROM table -----Original Message----- From: ravi.karatagi@wipro.com [mailto:ravi.karatagi@wipro.com] Sent: Wednesday, September 20, 2006 10:35 AM To: mysql@lists.mysql.com Subject: How to delete all rows.... Hi All, How do I delete all the rows of all the tables(but not table) in the database at one shot. Regards, Ravi K The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com |