sys.col$ 表是oracle基础数据字典表中的列表,表中描述了数据库中各列信息,其中type#是列的数据类型。以下表格说明了各个数值的含义,以供参考。

 

 

说明
1

如果列 charsetform 是2,则为nvarchar2

如果列 charsetform 是其他,则为 varchar2

2 number
8 long
9

如果列 charsetform 是2, 则为 nchar varying

如果列 charsetform 是其他,则为 varchar

12 date
23 raw
24 long raw
58

自定义类型

69 ROWID
96

如果列 charsetform 是2 ,则为 nchar

如果列 charsetform  是其他, 则为 char

100 binary float
101 binary double
105 mlslabel
106 mlslabel
111

自定义类型

112

如果列 charsetform 是2,则为 nclob

如果列 charsetform 是其他,则为 clob

113 blob
114 bfile
115 cfile
121 自定义类型
122 自定义类型
123 自定义类型
178 time
179 time with time zone
180 timestamp
181 timestamp with time zone
231 timestamp with local time zone
182 interval year to month
183 interval day to second
208 UROWID

posted on 2017-03-02 13:42  dspeeding  阅读(720)  评论(0编辑  收藏  举报