This topic created in 4476 days ago, the information mentioned may be changed or developed.
比如,现在id为10,当插入一条数据的时候,如果数据重复,则跳过,再插入下一条非重复数据的时候,id变成12了,11跳过了。
数据库为:MySQL
4 replies • 2014-08-27 19:04:52 +08:00
 |
|
哪种数据库?oracle和mysql都有sequence
|
 |
|
ALTER TABLE tablename ENGINE=MYISAM;
|