随笔分类 - 数据库
摘要:命令如下: 例子: mysql show create table m_zhbess_vehicle_report\G 1. row Table: m_zhbess_vehicle_report Create Table: CREATE TABLE ( int(11) NOT NULL COMMEN
阅读全文
摘要:出于对业务的不了解,往往会让人做出错误的判断 CREATE TABLE ( int(11) NOT NULL AUTO_INCREMENT COMMENT '客户ID', varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL CO
阅读全文
摘要:``` 查看配置 show variables like '%increment%'; 如果: auto_increment_increment=2 执行: set @@global.auto_increment_increment = 1; set @@auto_increment_increment =1; 如果: auto_increment_offset=2 执行: set @@globa
阅读全文

浙公网安备 33010602011771号