【转】powerdesigner 数据类型与数据库数据类型对应

The following numeric data types are available:

Standard data typeDBMS-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
The following time data types are available:

 

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/louis80/p/5270195.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值