Re: Auto Increment Fields
| From: | Sascha Mantscheff | Date: | Fri, 02 May 2003 21:39:03 +0000 |
| Subject: | Re: Auto Increment Fields | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19752@lists.php.net to get a copy of this message | ||
create the table and set the first value manually:
sql > create table myTable (counter integer not null primary key
auto_increment);
sql > insert into myTable values (1000);
Guru P Chaturvedi wrote:
> Hi there....
>
> ho can i create a integer field in a MySQL table that starts with a
> initial value 1000 anc increments by 1 further...
>
> please help me out.
>
> with Warm Regards,
> Guru.
> ---------------------------------------
> Phone: (+91)9845290270
> URL: www.gangarasa.com
> Yahoo IM: guru4vedi
> MSN: guru4vedi@gangarasa.com
> ---------------------------------------
>
>