Re: Not PHP but MYSQL
| From: | Alex Vargas | Date: | Fri, 28 Dec 2001 06:04:46 +0000 |
| Subject: | Re: Not PHP but MYSQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78913@lists.php.net to get a copy of this message | ||
create table table_name
(
id int not null auto_increment,
primary key (id)
)
auto_increment = 1001
----- Original Message -----
From: "Steve Maroney" <steve@stevenet.dhs.org>
To: <php-general@lists.php.net>
Sent: Friday, December 28, 2001 6:59 AM
Subject: [PHP] Not PHP but MYSQL
>
>
> Sorry for the OT, but im trying to figure out something with mysql and
> need some help.
>
> Does anyone know how set the auto_increment value to some other number
> than 0. I have an order_number coloumn and I want to start it at 1000.
> So the first record would 1001.
>
>
>
>
>
>
>
>
> Thank you,
> Steve Maroney
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>