mysql workbench简单操作
生活随笔
收集整理的這篇文章主要介紹了
mysql workbench简单操作
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1.選擇File->New Model
2.選擇Add Diagram
3.添加table等。
4.table編輯畫(huà)面如下:
[intrinsic column flags] (基本字段類(lèi)型標(biāo)識(shí))
- 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) 自增[additional data type flags, depend on used data type] 擴(kuò)展數(shù)據(jù)類(lèi)型標(biāo)記
- BIN: binary (if dt is a blob or similar, this indicates that is binary data, rather than text) 二進(jìn)制(比text更大的二進(jìn)制數(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個(gè)人理解指的是帶有小數(shù)占位符的數(shù)據(jù)相當(dāng)于金額類(lèi)型的數(shù)據(jù)。
總結(jié)
以上是生活随笔為你收集整理的mysql workbench简单操作的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 基于安卓 13 的 LineageOS
- 下一篇: mysql Error Code: 10