CREATE TABLE t1 (id BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT )
The above command increases id from 0 ,but i want to increase it from a specific no. say like 1234567890 ..
how can i do that??
How can i set auto increment from a specific no.??
I tried something like this but it did not work
CREATE TABLE t1 AUTO_INCREMENT = 1234567890, (id BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT)
If the question is not clear pllzz comment..
Edit: A quick note with regards to storage engine support for setting the AUTO_INCREMENT value, which will depend on the version of MySQL you’re running.
From MySQL 5.0 Manual,
From MySQL 5.1 Manual,