How can I set a non-auto-increment field to auto increment in MySQL? And how can I set the auto increment start value to 6000?
How can I set a non-auto-increment field to auto increment in MySQL? And how can I set the auto increment start value to 6000?
mysql will show you the correct syntax for this, and more, if you execute the following for a table that contains an auto increment PK & some data already:
SHOW CREATE TABLE your_tablename;