Home >Database >Mysql Tutorial >如何设置数据库id的初始值,mysql

如何设置数据库id的初始值,mysql

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:40:591644browse

mysql

我想要实现ID的自增长,这个id要是一个指定的序列比如年月日+00001,之后依次是00002,这样要如何实现?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn