Am Donnerstag, 30. Januar 2003 20:15 schrieb Mike Doanh Tran: > Hi all, > > I am creating a new table with an auto_increment primary key. > How do i tell mysql to start incrementing at a certain value, let say > 1000 instead of 1? > > Thanks, > > MT
SET INSERT_ID=1000 does it. Have a look at http://www.mysql.com/doc/en/SET_OPTION.html -- Christian Kohlschütter [EMAIL PROTECTED] http://www.newsclub.de - Der Meta-Nachrichten-Dienst --------------------------------------------------------------------- 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