At 11:05 PM -0400 9/16/01, <[EMAIL PROTECTED]> wrote:
>I manually entered into my database several rows with high values in the
>auto-increment column.  I subsequently deleted the high value rows.  I now
>am trying to reset the auto-increment.  How do I reset it to the Max of
>the currently existing values?

ALTER TABLE tbl_name AUTO_INCREMENT = 1

>
>-matt
>[EMAIL PROTECTED]
>====================================================
>Ecosandals.com
>Making sandals, enriching lives
>Kutengeneza akala, kuinua maisha
>====================================================


-- 
Paul DuBois, [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to