Re: mySQL Autoincrement Field
| From: | mike cullerton | Date: | Fri, 03 Aug 2001 03:43:22 +0000 |
| Subject: | Re: mySQL Autoincrement Field | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61038@lists.php.net to get a copy of this message | ||
on 8/2/01 9:01 PM, Ralph Guzman at raguzman@netraiser.com wrote:
> In mySQL, how do I set an auto increment field to start at a certain
> number-let's say 10000? Do I just insert the first record with the desired
> number I wish to start with?
>
it appears to depend on the table type. i believe you are ok with MyISAM or
InnoDB tables. check out the docs on table creation and column types at
mysql.com.
-- mike cullerton