PD与数据库对应类型
2016-04-26 16:27
381 查看
数值类型:
字符类型:
时间类型:
其他类型:
Standard data type | DBMS-specific physical data type | Content | Length |
---|---|---|---|
Integer | int / INTEGER | 32-bit integer | — |
Short Integer | smallint / SMALLINT | 16-bit integer | — |
Long Integer | int / INTEGER | 32-bit integer | — |
Byte | tinyint / SMALLINT | 256 values | — |
Number | numeric / NUMBER | Numbers with a fixed decimal point | Fixed |
Decimal | decimal / NUMBER | Numbers with a fixed decimal point | Fixed |
Float | float / FLOAT | 32-bit floating point numbers | Fixed |
Short Float | real / FLOAT | Less than 32-bit point decimal number | — |
Long Float | double precision / BINARY DOUBLE | 64-bit floating point numbers | — |
Money | money / NUMBER | Numbers with a fixed decimal point | Fixed |
Serial | numeric / NUMBER | Automatically incremented numbers | Fixed |
Boolean | bit / SMALLINT | Two opposing values (true/false; yes/no; 1/0) | — |
Standard data type | DBMS-specific physical data type | Content | Length |
---|---|---|---|
Characters | char / CHAR | Character strings | Fixed |
Variable Characters | varchar / VARCHAR2 | Character strings | Maximum |
Long Characters | varchar / CLOB | Character strings | Maximum |
Long Var Characters | text / CLOB | Character strings | Maximum |
Text | text / CLOB | Character strings | Maximum |
Multibyte | nchar / NCHAR | Multibyte character strings | Fixed |
Variable Multibyte | nvarchar / NVARCHAR2 | Multibyte character strings | Maximum |
Standard data type | DBMS-specific physical data type | Content | Length |
---|---|---|---|
Date | date / DATE | Day, month, year | — |
Time | time / DATE | Hour, minute, and second | — |
Date & Time | datetime / DATE | Date and time | — |
Timestamp | timestamp / TIMESTAMP | System date and time | — |
Standard data type | DBMS-specific physical data type | Content | Length |
---|---|---|---|
Binary | binary / RAW | Binary strings | Maximum |
Long Binary | image / BLOB | Binary strings | Maximum |
Bitmap | image / BLOB | Images in bitmap format (BMP) | Maximum |
Image | image / BLOB | Images | Maximum |
OLE | image / BLOB | OLE links | Maximum |
Other | — | User-defined data type | — |
Undefined | undefined | Undefined. Replaced by the default data type at generation. |
相关文章推荐
- mysql-5.7.12-winx64压缩包 安装教程
- redis.conf的配置解析
- 简单说说THP——记一次数据库服务器阻塞的问题解决 推荐
- redis 3.0安装报错处理
- 不影响数据库运行如何快速恢复刚删除的表及其数据(三)如何恢复刚更新的数百万条数据
- redis配置文件redis-conf
- MySQL下载安装、配置与使用(win7x64)
- Mysql 常用技巧 (连载)
- 数据库迁移思路梳理
- redis常用内存优化手段与参数
- redis配置文件redis-common.conf
- mysql删除数据表内容后id 自动递增字段不是从1开始的解决办法
- SQL语句基础2-数据定义
- oracle数据库FAQ
- Redis配置集群遇到问题及解决方法
- redis集群搭建手册
- mysql的数据库权限问题
- django 模型model与数据库2——函数
- 不影响数据库运行如何快速恢复刚删除的表及其数据(二)如何恢复刚才删除的一条数据
- redis-list