Jump to content

How to auto_increment from a number?


dragonusthei

Recommended Posts

From [url=http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html]http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html[/url]
"
To start with an AUTO_INCREMENT value other than 1, you can set that value with CREATE TABLE or ALTER TABLE, like this:

mysql> ALTER TABLE tbl AUTO_INCREMENT = 100;
"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.