| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Chris | Date: | September 21 2006 3:45am |
| Subject: | Re: How to delete all rows.... | ||
| View as plain text | |||
Wagner, Chris (GEAE, CBTS) wrote: > But how will that interact with the auto increment counter? Will > truncate reset the counter. According to the docs it will: http://dev.mysql.com/doc/refman/5.1/en/truncate.html The table handler does not remember the last used AUTO_INCREMENT value, but starts counting from the beginning. This is true even for MyISAM and InnoDB, which normally do not reuse sequence values.
| Thread | ||
|---|---|---|
| • How to delete all rows.... | ravi.karatagi | 20 Sep |
| • Re: How to delete all rows.... | Dan Trainor | 20 Sep |
| • Re: How to delete all rows.... | Praj | 20 Sep |
| • RE: How to delete all rows.... | Peter Lauri | 20 Sep |
| • Re: How to delete all rows.... | Chris | 20 Sep |
| • RE: How to delete all rows.... | Peter Lauri | 20 Sep |
| • RE: How to delete all rows.... | cknipe | 20 Sep |
| • RE: How to delete all rows.... | Pradeep Chandru | 20 Sep |
| • Re: How to delete all rows.... | Douglas Sims | 20 Sep |
| • Re: How to delete all rows.... | CBTS) GEAE | 20 Sep |
| • Re: How to delete all rows.... | Chris | 21 Sep |
| • Re: How to delete all rows.... | Dilipkumar | 22 Sep |
| • Re: How to delete all rows.... | Chris | 26 Sep |
| • Re: How to delete all rows.... | mos | 26 Sep |
| • Re: How to delete all rows.... | Chris | 26 Sep |
