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

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

WBOY
Release: 2016-06-06 09:40:59
Original
1632 people have browsed it

mysql

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template