关于 Workbench中 pk,nn,uq,bin,un,zf,ai 的解释

最近公司要让做一个权限系统,需要设计相关的表,使用了mysql的 workBench进行数据库建模,在建数据库时,发现有pk,nn,uq,bin,un,zf,ai 这几个基本字段类型标识(如下图),pk、uq这俩个比较常见的还是知道是什么意思的,其他的不太了解,所以总结一下,便于以后查看。

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/jakaBlog/p/10508920.html

时间: 2024-07-31 22:33:27

关于 Workbench中 pk,nn,uq,bin,un,zf,ai 的解释的相关文章

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 自增

mysql workbench的PK,NN,UQ,BIN,UN,ZF,AI

mysql workbench建表时PK.NN.UQ.BIN.UN.ZF.AI的意思,后面几个老搞不清,随记在这便于以后方便查. [intrinsic column flags] (基本字段类型标识)- 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 incremen

mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI

[intrinsic column flags] (基本字段类型标识) - 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) 自增

mysql workbench 建表时 PK,NN,UQ,BIN,UN,ZF,AI解释

mysql workbench 建表时 - 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 (i

mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI的含义

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, thi

MySQL Workbench建表时 PK NN UQ BIN UN ZF AI 的含义

PK==>  PRIMARY KEY    ==> 主键NN==>  NOT NULL       ==> 不可为空UQ==>  UNIQUE         ==> 唯一的AL==>  AUTO INCREMENT ==> 自动增加BIN==> BINARY         ==> 二进制UN==>  UNSIGNED       ==>无符号位的ZF==>  ZERO FILL      ==>补零 PK Belong

在ANSYS WORKBENCH中使用APDL命令的例子

如何在workbench中使用command? 如何在ansys workbench中插入apdl? 如何在ansys workbench中使用复杂载荷? 答案在APDL,他可以实现函数化的载荷,如岁时间变化,随位置变化的载荷,或正选变动的往复载荷,都可以实现.请看本文案例. [案例描述] 一个悬臂梁,长1米,截面尺寸为100mmx100mm,左端固定,顶面上施加分布力系.载荷从1MPa,2MPa,3MPa渐渐增加,求结构的最大位移. [案例分析] 本案例可以直接在wb中用多载荷步来求解,这里说

workbench中safe update

1.在workbench中表格显示为readonly ,更新时提示Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and reconnect. 这是由于MySQL Wo

jquery 中$('.ui-selecter',this)这样写 是什么意思 求解释 见到都是这种$("div")

如果用$("div")是拿选择所有的div$('.ui-selecter',this)选择的是现在选项中的child里面class是ui-selecter的意思跟jQuery(this).find(".ui-selecter");等同 $('span',this)等同于$(this).find('span') jquery 中$('.ui-selecter',this)这样写 是什么意思 求解释 见到都是这种$("div")