日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

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

發布時間:2025/5/22 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

?

隨筆 - 220, 文章 - 1, 評論 - 32, 引用 - 0

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) 自增 www.2cto.com ? [additional data type flags, depend on used data type] 擴展數據類型標記
? - 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,并且不保存。? ps: ZF個人理解指的是帶有小數占位符的數據相當于金額類型的數據。

?

轉載于:https://www.cnblogs.com/iOS-mt/p/5710859.html

總結

以上是生活随笔為你收集整理的mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。