mysql workbench中PK,NN,UQ,BIN,UN,ZF,AI字段类型标识说明

PK:primary key 主键

NN:not null 非空

UQ:unique 唯一索引

BIN:binary 二进制数据(比text更大)

UN:unsigned 无符号(非负数)

ZF:zero fill 填充0 例如字段内容是1 int(4), 则内容显示为0001 

AI:auto increment 自增

原文地址:https://www.cnblogs.com/ScvQ/p/7001120.html