mysql设置表的自增长id的初始值

设置mysql中的auto_increment键的自增长的初始值。

以下SQL修改users表从1001开始增长。

ALTER TABLE users AUTO_INCREMENT = 1001; 
发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>