PowerDesigner的数据类型

用PowerDesigner 15 设计个数据库,每个字段的数据类型设计真是头大,根据字段意思看用哪个类型最合适还得仔细研究呀。贴几个数据类型表格收藏一下^_^

  

Numeric data types



Standard datatypeDBMS-specific physical data typeContentLength
Integerint / INTEGER32-bit integer
Short Integersmallint / SMALLINT16-bit integer
Long Integerint / INTEGER32-bit integer
Bytetinyint / SMALLINT256 values
Numbernumeric / NUMBERNumbers with a fixed decimal pointFixed
Decimaldecimal / NUMBERNumbers with a fixed decimal pointFixed
Floatfloat / FLOAT32-bit floating point numbersFixed
Short Floatreal / FLOATLess than 32-bit point decimal number
Long Floatdouble precision / BINARY DOUBLE64-bit floating point numbers
Moneymoney / NUMBERNumbers with a fixed decimal pointFixed
Serialnumeric / NUMBERAutomatically incremented numbersFixed
Booleanbit / SMALLINTTwo opposing values (true/false; yes/no; 1/0)

Character data types 

The following character data types are available:

 
Standard data typeDBMS-specific physical data typeContentLength
Characterschar / CHARCharacter stringsFixed
Variable Charactersvarchar / VARCHAR2Character stringsMaximum
Long Charactersvarchar / CLOBCharacter stringsMaximum
Long Var Characterstext / CLOBCharacter stringsMaximum
Texttext / CLOBCharacter stringsMaximum
Multibytenchar / NCHARMultibyte character stringsFixed
Variable Multibytenvarchar / NVARCHAR2Multibyte character stringsMaximum

Time data types 
 
Standard data typeDBMS-specific physical data typeContentLength
Datedate / DATEDay, month, year
Timetime / DATEHour, minute, and second
Date & Timedatetime / DATEDate and time
Timestamptimestamp / TIMESTAMPSystem date and time

Other data types 

The following other data types are available:

 

Standard data typeDBMS-specific physical data typeContentLength
Binarybinary / RAWBinary stringsMaximum
Long Binaryimage / BLOBBinary stringsMaximum
Bitmapimage / BLOBImages in bitmap format (BMP)Maximum
Imageimage / BLOBImagesMaximum
OLEimage / BLOBOLE linksMaximum
OtherUser-defined data type
UndefinedundefinedUndefined. Replaced by the default data type at generation.

转载于:https://www.cnblogs.com/ThinkWorld/p/3304975.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值