Reset auto_increment

2002-02-13 Thread Wei Gao

Hi,
As I am new to MySQL, perhaps this is a common question you have been asked. 
I have a field "Id" which using auto_increment. Now I want to reset the 
value of auto_increment, that is the "Id" starts form 1 and does not skip 
the number. I have spent a few hours to find a way, but all failed. Could 
you please tell me how to do it?

Wei

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


-
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


-
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




Reset auto_increment

2002-02-07 Thread Wei Gao

Hi,
As I am new to MySQL, perhaps this is a common question you have been asked. 
I have a field "Id" which using auto_increment. Now I want to reset the 
value of auto_increment, that is the "Id" starts form 1 and does not skip 
the number. I have spent a few hours to find a way, but all failed. Could 
you please tell me how to do it?

Wei

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


-
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