INIX查询标准表结构SQL.doc_第1页
INIX查询标准表结构SQL.doc_第2页
INIX查询标准表结构SQL.doc_第3页
INIX查询标准表结构SQL.doc_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

- 规范SQLselect a.tabname as tabname_en, tabname_cn, b.colno, b.colname as colname_en, colname_cn, case b.coltype when 0 then varchar2(|collength|) when 1 then integer when 2 then integer when 3 then float when 4 then float when 5 then decimal(|trunc(collength/256)|,|mod(collength,256)|) when 6 then integer when 7 then date when 8 then money when 9 then null when 10 then datetime when 11 then byte when 12 then text when 13 then varchar2(|collength|) when 14 then interval when 15 then varchar2(|collength|) when 16 then varchar2(|collength|) when 17 then int8 when 18 then serial8 when 19 then set when 20 then multiset when 21 then list when 22 then unnamed row when 40 then varchar2(4000) when 41 then clob when 43 then blob when 44 then boolean when 256 then varchar2(|collength|) when 257 then integer when 258 then integer when 259 then float when 260 then real when 261 then decimal(|trunc(collength/256)|,|mod(collength,256)|) when 262 then serial when 263 then date when 264 then money when 266 then datetime when 267 then byte when 268 then text when 269 then varchar when 270 then interval when 271 then varchar2(|collength|) when 272 then varchar2(|collength|) when 273 then int8 when 274 then serial8 when 275 then set when 276 then multiset when 277 then list when 278 then unnamed row when 296 then lvarchar when 297 then clob when 298 then blob when 299 then boolean when 4118 then named row end as coltypename, case when c.idxtype=U then Y else N end as KEY_TYPE, case when b.coltype=256 then N else Y end as NULL_TYPEfrom systables aleft join syscolumns bon a.tabid=b.tabidleft join sysindexes con a.tabid=c.tabidand b.colno in (c.part1, c.part2, c.part3, c.part4, c.part5, c.part6, c.part7, c.part8)

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论