>From postings at:
http://www.mysql.com/doc/en/example-AUTO_INCREMENT.html

ALTER TABLE tbl_name AUTO_INCREMENT = 1000
will start your records at 1000

Bhavin.
----- Original Message -----
From: "Mike Doanh Tran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 2:15 PM
Subject: setting auto increment start value


> 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
>
>
> --
>
> ---------------------------------------------------------------------
> 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

Reply via email to