mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI
生活随笔
收集整理的這篇文章主要介紹了
mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
?
隨筆 - 220, 文章 - 1, 評論 - 32, 引用 - 0mysql 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) 自增 www.2cto.com ? [additional data type flags, depend on used data type] 擴展數(shù)據(jù)類型標記? - BIN: binary (if dt is a blob or similar, this indicates that is binary data, rather than text) 二進制(比text更大的二進制數(shù)據(jù)) - UN: unsigned (for integer types, see docs: “10.2. Numeric Types”) 整數(shù) - ZF: zero fill (rather a display related flag, see docs: “10.2. Numeric Types”)值中最有意義的字節(jié)總為0,并且不保存。? ps: ZF個人理解指的是帶有小數(shù)占位符的數(shù)據(jù)相當于金額類型的數(shù)據(jù)。
?
轉(zhuǎn)載于:https://www.cnblogs.com/iOS-mt/p/5710859.html
總結(jié)
以上是生活随笔為你收集整理的mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 3ds max2018一点enter a
- 下一篇: JS一定要放在Body的最底部么?