ALTER TABLE sometable AUTO_INCREMENT = 1000;


On 10/17/2010 07:03 AM, short cutter wrote:
Hi,

Is it possible to change this directive's value without modifition to
my.cnf and restart mysqld?
I remember there is a set @@variable syntax, but not sure.

Thanks.

2010/10/17 mos<mo...@fastmail.fm>:
At 08:55 PM 10/16/2010, you wrote:
After executing the SQL statement, the next Id inserted will be 1000.
Oops. I meant :

After executing the SQL statement, the next Id inserted will be 1001.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to