MySQL建表时,PK.NN.UQ.AI.BIN.ZF的含义
2015-11-01 13:35
651 查看
PK: primary key (column is part of a pk) 主键
NN: not null (column is nullable) 非空
UQ: unique (column is part of a unique key) 唯一
AI: auto increment
(the column is auto incremented when rows are inserted) 自增
BIN: binary (if dt is a blob or similar, this indicates that is binary data,
rather than text) 二进制(比text更大的二进制数据)
UN: unsigned (for integer types, see docs: “10.2. Numeric Types”) 整数
ZF: zero fill
(rather a display related flag,
see docs: “10.2. Numeric Types”)值中最有意义的字节总为0,并且不保存。
NN: not null (column is nullable) 非空
UQ: unique (column is part of a unique key) 唯一
AI: auto increment
(the column is auto incremented when rows are inserted) 自增
BIN: binary (if dt is a blob or similar, this indicates that is binary data,
rather than text) 二进制(比text更大的二进制数据)
UN: unsigned (for integer types, see docs: “10.2. Numeric Types”) 整数
ZF: zero fill
(rather a display related flag,
see docs: “10.2. Numeric Types”)值中最有意义的字节总为0,并且不保存。
相关文章推荐
- mysql主从同步配置
- MySQL数据库开发与优化视频
- MYSQL-复制
- ubuntu15.04 mysql5.6.27编码格式配置
- mac mysql客户端操作mysql
- Mysql参见SHOW命令总结
- mysql读写分离的实现之amoeba
- MySQL 数据库常用命令小结
- mysql 学习记录(十九)--Innodb表锁
- mysql字符串查询大小写问题
- mysql基础0之配置
- mysql AUTO_INCREMENT
- c# + Maticsoft.DBUtility+ mysql 做winform的遇到的一些问题及处理
- mysql sysbench测试安装及命令
- mysql计算经纬度亮点之间的距离
- mysql load infile和into outfile
- windows下解决mysql密码更改问题
- MySQL CMake 安装说明
- MySQL数据库基本操作
- 浅谈 sqlserver 和 mysql存储过程、函数的区别