zerofill在mysql字段定义中的使用以及auto_increment的注意事项

Zerofill 用于数字类型的定长显示是最适合不过了, 长度不够时,用0填充。 node mysql> create table t1(id int(6) zerofill auto_increment primary key, col2 varch ar(32)); Query OK, 0 rows affected (0.00 sec) mysql> insert into t1 (col
相关文章
相关标签/搜索