List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:June 25 2003 10:49am
Subject:Re: Setting default auto_increment start int
View as plain text  
"Javan B." <javanbat@stripped> wrote:
> 
> Just a quick question: How do I set the auto increment
> for a field to start from an integer other than 1.
> 
> For example, I would like to be able to have the auto
> increment counter start from 1000.
> 

Use AUTO_INCREMENT option of CREATE TABLE statement:
	http://www.mysql.com/doc/en/CREATE_TABLE.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



Thread
Setting default auto_increment start intJavan B.25 Jun
  • Re: Setting default auto_increment start intEgor Egorov25 Jun
    • RE: Setting default auto_increment start intDaevid Vincent26 Jun