################################################## Build 2
##################################################
################################################## INFORMIX ###########
##################################################
##################################################
#INFORMIX.ServerItems
/*SELECT
user OBJ_NAME,
user TEMPLATE_NAME,
0 SUB_OBJ_NAME,
user NODES_SQLCLASS_NAME,
user LOCAL_FILTER
,user AS aowner
FROM systables s
WHERE 1 <> 1 --Tables
UNION ALL*/
SELECT
trim(both from CAST("Tables " AS VARCHAR(100))) OBJ_NAME,
trim(both from CAST("Tables " AS VARCHAR(100))) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("TableObjects" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype = 'T' and owner <> 'informix'" AS VARCHAR(100)) LOCAL_FILTER
,trim(both from user) AS aowner
,0 Image_Index
FROM systables s
WHERE tabtype = 'T' and owner <> 'informix' --Tables
UNION ALL
SELECT
CAST("Views" AS VARCHAR(20)) OBJ_NAME,
CAST("Views" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("TableObjects" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype = 'V' and owner <> 'informix'" AS VARCHAR(100)) LOCAL_FILTER
,user AS aowner
,4 Image_Index
FROM systables s --Views
WHERE tabtype = 'V' and owner <> 'informix'
UNION ALL
SELECT
CAST("Sinonims" AS VARCHAR(20)) OBJ_NAME,
CAST("Sinonims" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("TableObjects" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype IN ('P', 'S') and owner <> 'informix'" AS VARCHAR(100)) LOCAL_FILTER
,user AS aowner
,4 Image_Index
FROM systables s --Sinonims
WHERE tabtype IN ('P', 'S') and owner <> 'informix'
UNION ALL
SELECT
CAST("Procedures" AS VARCHAR(20)) OBJ_NAME,
CAST("Procedures" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("TableObjects" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype = 'PR' and owner <> 'informix'" AS VARCHAR(100)) LOCAL_FILTER
,user AS aowner
,3 Image_Index
FROM systables s --Synonyms
WHERE tabtype = 'PR' and owner <> 'informix'
UNION ALL
SELECT
CAST("SysInfo" AS VARCHAR(20)) OBJ_NAME,
CAST("SysInfo" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("SysInfo" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("owner = 'informix'" AS VARCHAR(100)) LOCAL_FILTER
,user AS aowner
,-1 Image_Index
FROM systables s --SysInfo
WHERE 1<>1
##################################################
#INFORMIX.Tables
select
trim(both from owner) || '.' || trim(both from tabname) objname,
s.tabid,
case when s.owner = 'informix' then 1 else 0 end order1,
trim(both from owner) owner,
s.tabname name,
trim(s.tabtype || " ") atype
, "TableColumns" NODES_SQLCLASS_NAME
, "TableColumns" TEMPLATE_NAME
, CAST(("tabid = '" || s.tabid || "'") AS VARCHAR(100)) LOCAL_FILTER
, 0 Image_Index
from systables s
where tabtype <> "" and owner <> 'informix'
order by 1,2,3
##################################################
#INFORMIX.Tables.Columns
SELECT
colname,
tabid,
colno,
collength as Length,
colmin,
colmax,
coltype-trunc(coltype/256)*256 as Type,
case when coltype-trunc(coltype/256)*256=0 then "CHAR"
when coltype-trunc(coltype/256)*256=1 then "SMALLINT"
when coltype-trunc(coltype/256)*256=2 then "INTEGER"
when coltype-trunc(coltype/256)*256=3 then "FLOAT"
when coltype-trunc(coltype/256)*256=4 then "SMALLFLOAT"
when coltype-trunc(coltype/256)*256=5 then "DECIMAL"
when coltype-trunc(coltype/256)*256=6 then "SERIAL*"
when coltype-trunc(coltype/256)*256=7 then "DATE"
when coltype-trunc(coltype/256)*256=8 then "MONEY"
when coltype-trunc(coltype/256)*256=9 then "NULL"
when coltype-trunc(coltype/256)*256=10 then "DATETIME"
when coltype-trunc(coltype/256)*256=11 then "BYTE"
when coltype-trunc(coltype/256)*256=12 then "TEXT"
when coltype-trunc(coltype/256)*256=13 then "VARCHAR"
when coltype-trunc(coltype/256)*256=14 then "INTERVAL"
when coltype-trunc(coltype/256)*256=15 then "NCHAR"
when coltype-trunc(coltype/256)*256=16 then "NVARCHAR"
when coltype-trunc(coltype/256)*256=17 then "INT8"
when coltype-trunc(coltype/256)*256=18 then "SERIAL8*"
when coltype-trunc(coltype/256)*256=19 then "SET"
when coltype-trunc(coltype/256)*256=20 then "MULTISET"
when coltype-trunc(coltype/256)*256=21 then "LIST"
when coltype-trunc(coltype/256)*256=22 then "ROW"
when coltype-trunc(coltype/256)*256=23 then "COLLECTION"
when coltype-trunc(coltype/256)*256=24 then "ROWREF"
when coltype-trunc(coltype/256)*256=40 then "Variable-length opaque type"
when coltype-trunc(coltype/256)*256=41 then "Fixed-length opaque type"
when coltype-trunc(coltype/256)*256=4118 then "Named row"
end as TypeName
, trunc(coltype/256) as Null
, "" TEMPLATE_NAME
, case when trunc(coltype/256)=0 then "Yes" else "No" end as CanNull
, 1 Image_Index
FROM informix.syscolumns
order by tabid, colno
##################################################
#INFORMIX.Procedures
select
trim(both from owner) || '.' || trim(both from procname) objname,
case when s.owner = 'informix' then 1 else 0 end order1,
trim(both from owner) owner,
s.procname name
, "ProceduresParameters" NODES_SQLCLASS_NAME
, "ProceduresParameters" TEMPLATE_NAME
, CAST(("") AS VARCHAR(100)) LOCAL_FILTER
, 3 Image_Index
from sysprocedures s
where owner <> 'informix'
order by 1,2,3
##################################################
#INFORMIX.Procedure.Body
select procid, datakey, seqno, data
from sysprocbody
where procid = 563
and datakey = 'T'
order by seqno
##################################################
#INFORMIX.SysInfo.ServerItems
SELECT
CAST("SysTables" AS VARCHAR(100)) OBJ_NAME,
CAST("SysTables" AS VARCHAR(100)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("SysTableObjects" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype = 'T' and owner = 'informix'" AS VARCHAR(100)) LOCAL_FILTER,
CAST("informix" AS VARCHAR(20)) aowner
, 0 Image_Index
FROM systables s
WHERE tabtype = 'T' and owner = 'informix' --Tables
UNION ALL
SELECT
CAST("SysViews" AS VARCHAR(20)) OBJ_NAME,
CAST("SysViews" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("SysTableObjects" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype = 'V' and owner = 'informix'" AS VARCHAR(100)) LOCAL_FILTER,
CAST("informix" AS VARCHAR(20)) aowner
, 4 Image_Index
FROM systables s --Views
WHERE tabtype = 'V' and owner = 'informix'
UNION ALL
SELECT
CAST("SysSinonims" AS VARCHAR(20)) OBJ_NAME,
CAST("SysSinonims" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("SysSinonims" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype IN ('P', 'S') and owner = 'informix'" AS VARCHAR(100)) LOCAL_FILTER,
CAST("informix" AS VARCHAR(20)) aowner
, 4 Image_Index
FROM systables s --Sinonims
WHERE tabtype IN ('P', 'S') and owner = 'informix'
UNION ALL
SELECT
CAST("SysProcedures" AS VARCHAR(20)) OBJ_NAME,
CAST("SysProcedures" AS VARCHAR(20)) TEMPLATE_NAME,
count(*) SUB_OBJ_NAME,
CAST("SysProcedures" AS VARCHAR(20)) NODES_SQLCLASS_NAME,
CAST("atype = 'PR' and owner = 'informix'" AS VARCHAR(100)) LOCAL_FILTER,
CAST("informix" AS VARCHAR(20)) aowner
, 3 Image_Index
FROM systables s --Synonyms
WHERE tabtype = 'PR' and owner = 'informix'
##################################################
#INFORMIX.SysTables
select
trim(both from owner) || '.' || trim(both from tabname) objname,
s.tabid,
case when s.owner = 'informix' then 1 else 0 end order1,
trim(both from owner) owner,
s.tabname name,
trim(s.tabtype || " ") atype
, "TableColumns" NODES_SQLCLASS_NAME
, "TableColumns" TEMPLATE_NAME
, CAST(("tabid = '" || s.tabid || "'") AS VARCHAR(100)) LOCAL_FILT
没有合适的资源?快使用搜索试试~ 我知道了~
EHlib FOR Delphi2009
共145个文件
pas:52个
dcu:46个
dfm:16个
需积分: 9 104 下载量 116 浏览量
2008-10-20
12:28:17
上传
评论
收藏 1022KB RAR 举报
温馨提示
EHlib FOR Delphi2009 最新版本
资源推荐
资源详情
资源评论
收起资源包目录
EHlib FOR Delphi2009 (145个子文件)
EhLib110.dproj.2007 7KB
DclEhLib110.dproj.2007 6KB
DclEhLibDataDrivers110.dproj.2007 6KB
EhLibDataDrivers110.dproj.2007 4KB
EhLibReg.dcr 9KB
DBGridEh.dcu 459KB
DBCtrlsEh.dcu 204KB
MemTableDataEh.dcu 166KB
MemTableEh.dcu 116KB
GridsEh.dcu 112KB
ToolCtrlsEh.dcu 107KB
SQLDriverEditEh.dcu 106KB
DataDriverEh.dcu 74KB
PrnDbgEh.dcu 68KB
DBGridEhImpExp.dcu 65KB
DBLookupGridsEh.dcu 62KB
DBLookupEh.dcu 61KB
ADODataDriverDesignEh.dcu 42KB
PropFilerEh.dcu 40KB
PropStorageEditEh.dcu 38KB
DbUtilsEh.dcu 37KB
PropStorageEh.dcu 32KB
UpdateSQLEditEh.dcu 30KB
PrViewEh.dcu 28KB
DBSumLst.dcu 24KB
MemTableDesignEh.dcu 24KB
CalculatorEh.dcu 23KB
RichEdEh.dcu 23KB
ADODataDriverEh.dcu 22KB
IBXDataDriverDesignEh.dcu 20KB
GridEhEd.dcu 20KB
EhLibReg.dcu 17KB
BDEDataDriverEh.dcu 17KB
MemTreeEh.dcu 16KB
DBXDataDriverEh.dcu 16KB
EhLibVCL.dcu 16KB
IBXDataDriverEh.dcu 15KB
PrvFrmEh.dcu 14KB
DBGridEhFindDlgs.dcu 12KB
SQLEditFrameEh.dcu 10KB
MTCreateDataDriver.dcu 9KB
DesignConnectionListEh.dcu 9KB
MemTableEditEh.dcu 8KB
PrntsEh.dcu 7KB
PrnDGDlg.dcu 6KB
DclEhLib120.dcu 6KB
FormSelectFromList.dcu 6KB
SelectFromListDialog.dcu 4KB
EhLibDataDrivers120.dcu 4KB
EhLib120.dcu 4KB
EhLibConsts.dcu 2KB
SQLDriverEditEh.dfm 94KB
RichEdEh.dfm 60KB
PropStorageEditEh.dfm 42KB
GridEhEd.dfm 23KB
UpdateSQLEditEh.dfm 14KB
PrvFrmEh.dfm 11KB
CalculatorEh.dfm 10KB
MemTableDesignEh.dfm 7KB
SQLEditFrameEh.dfm 6KB
DesignConnectionListEh.dfm 5KB
PrnDgDlg.dfm 3KB
DBGridEhFindDlgs.dfm 2KB
FormSelectFromList.dfm 2KB
MTCreateDataDriver.dfm 2KB
MemTableEditEh.dfm 1KB
SelectFromListDialog.dfm 1KB
EhLib120.dpk 1KB
DclEhLib120.dpk 1KB
DclEhLibDataDrivers120.dpk 909B
EhLibDataDrivers120.dpk 839B
EhLib120.dproj 6KB
DclEhLib120.dproj 6KB
EhLibDataDrivers120.dproj 6KB
DclEhLibDataDrivers120.dproj 6KB
EHLIB2009.groupproj 3KB
EhLib120.identcache 2KB
DclEhLib120.identcache 1KB
EhLibDataDrivers120.identcache 332B
DclEhLibDataDrivers120.identcache 284B
EhLib.Inc 3KB
EHLIB2009.groupproj.local 418B
DclEhLibDataDrivers120.dproj.local 336B
EhLibDataDrivers120.dproj.local 330B
DclEhLib120.dproj.local 314B
EhLib120.dproj.local 308B
DBGridEh.pas 691KB
DBCtrlsEh.pas 224KB
MemTableDataEh.pas 219KB
GridsEh.pas 171KB
MemTableEh.pas 155KB
SQLDriverEditEh.pas 136KB
ToolCtrlsEh.pas 131KB
PrnDbgeh.pas 114KB
DataDriverEh.pas 94KB
DBGridEhImpExp.pas 85KB
DBLookupGridsEh.pas 63KB
DBLookupEh.pas 55KB
PropFilerEh.pas 54KB
DbUtilsEh.pas 49KB
共 145 条
- 1
- 2
资源评论
sunway0112
- 粉丝: 18
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 王姿.html
- 51单片机学习(1)-软件keil下载
- 历届(第1-21届)希望杯数学竞赛初一试题及答案(最新整理).doc全国数学邀请赛(264页资料)
- 水滴.psd
- TokenPocket_V2.1.2_release.apk
- Apache-druid-kafka-rce.yaml
- 基于C#的ASP.NET数据库原理及应用技术课程指导平台的开发
- 基于ROS的智能车轨迹跟踪算法的仿真与设计源码运用PID跟踪算法.zip.zip
- Bug Bounty Tip - i春秋Self-XSS变废为宝的奇思妙想
- 1991-2015年全国初中化学竞赛复赛试题汇编(212页)(24年竞赛复赛真题).docx天原杯
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功