powerdesigner 数据类型与数据库数据类型对应
来源:互联网 发布:国云数据科技有限公司 编辑:程序博客网 时间:2024/06/06 00:21
The following numeric data types are available:
Standard data type | DBMS-specific physical data type | Content | Length | Integerint / INTEGER32-bit integer—Short Integersmallint / SMALLINT16-bit integer—Long Integerint / INTEGER32-bit integer—Bytetinyint / SMALLINT256 values—Numbernumeric / NUMBERNumbers with a fixed decimal pointFixedDecimaldecimal / NUMBERNumbers with a fixed decimal pointFixedFloatfloat / FLOAT32-bit floating point numbersFixedShort Floatreal / FLOATLess than 32-bit point decimal number—Long Floatdouble precision / BINARY DOUBLE64-bit floating point numbers—Moneymoney / NUMBERNumbers with a fixed decimal pointFixedSerialnumeric / NUMBERAutomatically incremented numbersFixedBooleanbit / SMALLINTTwo opposing values (true/false; yes/no; 1/0)—Character data types
The following character data types are available:
Standard data type | DBMS-specific physical data type | Content | Length | Characterschar / CHARCharacter stringsFixedVariable Charactersvarchar / VARCHAR2Character stringsMaximumLong Charactersvarchar / CLOBCharacter stringsMaximumLong Var Characterstext / CLOBCharacter stringsMaximumTexttext / CLOBCharacter stringsMaximumMultibytenchar / NCHARMultibyte character stringsFixedVariable Multibytenvarchar / NVARCHAR2Multibyte character stringsMaximumTime data types
The following time data types are available:
Standard data type | DBMS-specific physical data type | Content | Length | 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 type | DBMS-specific physical data type | Content | Length | Binarybinary / RAWBinary stringsMaximumLong Binaryimage / BLOBBinary stringsMaximumBitmapimage / BLOBImages in bitmap format (BMP)MaximumImageimage / BLOBImagesMaximumOLEimage / BLOBOLE linksMaximumOther—User-defined data type—UndefinedundefinedUndefined. Replaced by the default data type at generation.—