查询所有Informix数据表字段类型SQL语句: when '17' then 'INT8'? when '273' then 'INT8'? when '4118' then 'Named ROW'?
select a.tabname,b.colname,b.coltype,
case?? b.coltype?
when '0' then 'CHAR'?
when '1' then 'SMALLINT'?
when '2' then 'INTEGER'?
when '3' then 'FLOAT'?
when '4' then 'SMALLFLOAT'?
when '5' then 'DECIMAL'?
when '6' then 'SERIAL'?
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 'VARCHAR'?
when '14' then 'INTERVAL'?
when '15' then 'NCHAR'?
when '16' then 'NVARCHAR'
when '18' then 'SERIAL8'?
when '19' then 'SET'?
when '20' then 'MULTISET'?
when '21' then 'LIST'?
when '22' then 'Unnamed ROW'?
when '40' then 'LVARCHAR'?
when '41' then 'CLOB'?
when '43' then 'BLOB'?
when '44' then 'BOOLEAN'?
when '256' then 'CHAR'?
when '257' then 'SMALLINT'?
when '258' then 'INTEGER'?
when '259' then 'FLOAT'?
when '260' then 'REAL'?
when '261' then 'DECIMAL'?
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 'NCHAR'?
when '272' then 'NVARCHAR'
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'
end?? as?? coltypename, b.colno? from systables a left join syscolumns b on a.tabid=b.tabid where a.tabid>99 and a.tabtype='T' order by a.tabname,b.colno;
详细解决方案
[转载]查询全部Informix数据表字段类型SQL语句
热度:33 发布时间:2016-05-05 14:56:03.0
相关解决方案
- 那位可以发个IBM.Data.Informix.dll 给小弟我啊
- informix ole db 源的中英文有关问题(无法连接中文库)
- informix 临时表中否存在掩藏列row_id?或者能否添一个自增列
- could not position within a table ( tablename) 是什么招致的?informix
- informix unload分隔符跟类型转换
- 求:1 个 informix 分 页 的 例 子
- informix Fuzzy Checkpoint Completed 时间超长,该怎么处理
- informix 在字段建有目录,但是执行计划却不使用
- windows xp上怎么连接 informix 数据库
- informix 锁话语怎样写
- informix-4gl施用set_count()問題
- Informix 哪里上载
- informix,该如何解决
- informix 分组统计 left join解决方法
- Informix Dynamic Server Version 7.31 能否创建自定义函数
- informix,运用JPA
- informix 没法远程调用(rsh)本机脚本进入数据库(dbacces)
- informix 施行存储过程,服务就停了
- informix connect by 语法报错求解,该怎么解决
- sco unix 5.0.7 +informix online 5.0忽然用esql不能编译了,请高人指点
- informix SQL话语分析
- SQLFetch failed: {error} STATE=22002, CODE=零, MSG=[DataDirect][ODBC Informix dri
- informix 数据导入解决方法
- informix 数据库 sqlexception -1204Invalid year in date,该怎么处理
- informix 中 datetime year to fraction(三),毫秒部分始终为000,怎样才能取到毫秒呢
- informix server for window 上载地址 和序列号 们帮忙吧
- 筹建informix + informix-4gl 平台
- informix -Unable to initialize the Dynamic Server.解决思路
- informix dbaccess到用法解决思路
- informix 在服务端连接正常,在另外的装了客户端的机器下却连接不下? 高分!