Valor do auto_increment do MYSQL
Na criação da tabela:
CREATE TABLE users (
id INT NOT NULL AUTO_INCREMENT,
name CHAR(30) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM;
No ALTER TABLE:
ALTER TABLE users AUTO_INCREMENT=0;
Written by Débora Fernandes
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Related Tags
#mysql
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#