知识大全 如何获取MSSQLServer Oracel Access数据字典信息
Posted 信息
篇首语:我们要像海绵一样吸收有用的知识。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 如何获取MSSQLServer Oracel Access数据字典信息相关的知识,希望对你有一定的参考价值。
如何获取MSSQLServer Oracel Access数据字典信息 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!
表说明 SELECT dbo sysobjects name AS TableName dbo sysproperties [value] AS TableDesc FROM dbo sysproperties INNER JOIN dbo sysobjects ON dbo sysproperties id = dbo sysobjects id WHERE (dbo sysproperties smallid = ) ORDER BY dbo sysobjects name 字段说明 SELECT dbo sysobjects name AS TableName lid dbo syscolumns name AS ColName dbo sysproperties [value] AS ColDesc FROM dbo sysproperties INNER JOIN dbo sysobjects ON dbo sysproperties id = dbo sysobjects id INNER JOIN dbo syscolumns ON dbo sysobjects id = dbo syscolumns id AND dbo sysproperties smallid = lid ORDER BY dbo sysobjects name lid 主键 外键信息(简化) select c_obj name as CONSTRAINT_NAME t_obj name as TABLE_NAME col name as COLUMN_NAME case lid when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then when ref fkey then end as ORDINAL_POSITION from sysobjects c_obj sysobjects t_obj syscolumns col sysreferences ref where permissions(t_obj id) != and c_obj xtype in ( F ) and t_obj id = c_obj parent_obj and t_obj id = col id and lid in (ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ref fkey ) and c_obj id = nstid union select i name as CONSTRAINT_NAME t_obj name as TABLE_NAME col name as COLUMN_NAME v number as ORDINAL_POSITION from sysobjects c_obj sysobjects t_obj syscolumns col master dbo spt_values v sysindexes i where permissions(t_obj id) != and c_obj xtype in ( UQ PK ) and t_obj id = c_obj parent_obj and t_obj xtype = U and t_obj id = col id and col name = index_col(t_obj name i indid v number) and t_obj id = i id and c_obj name = i name and v number > and v number <= i keycnt and v type = P order by CONSTRAINT_NAME ORDINAL_POSITION 主键 外键对照(简化) select fc_obj name as CONSTRAINT_NAME i name as UNIQUE_CONSTRAINT_NAME from sysobjects fc_obj sysreferences r sysindexes i sysobjects pc_obj where permissions(fc_obj parent_obj) != and fc_obj xtype = F and nstid = fc_obj id and r rkeyid = i id and r rkeyindid = i indid and r rkeyid = pc_obj id ORACLE 表信息 select * from all_tab_ments t where owner= DBO 列信息 select * from all_col_ments t where owner= DBO 主键 外键对照 select OWNER CONSTRAINT_NAME CONSTRAINT_TYPE TABLE_NAME R_OWNER R_CONSTRAINT_NAME from all_constraints where owner= DBO and (Constraint_Type= P or Constraint_Type= R ) 主键 外键信息 select * from all_cons_columns where owner= DBO order by Constraint_Name Position Access //Access中的系统表MSysobjects存储属性的字段是二进制格式 不能直接分析可以采用ADO自带的OpenSchema方法获得相关信息 //use ADOInt pas //po: TableName //DBCon:TADOConnection /ds:TADODataSet 表信息 DBCon OpenSchema(siTables VarArrayOf([Null Null Table ]) EmptyParam ds); 列信息 DBCon OpenSchema(siColumns VarArrayOf([Null Null po ]) EmptyParam ds); 主键 DBCon OpenSchema(siPrimaryKeys EmptyParam EmptyParam ds); 主键 外键对照 DBCon OpenSchema(siForeignKeys EmptyParam EmptyParam ds); cha138/Article/program/MySQL/201311/29331相关参考
知识大全 ASP.NET获取MS SQL Server安装实例
ASP.NET获取MSSQLServer安装实例 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!
知识大全 PHP调用MsSQL Server 2012存储过程获取多结果集(包含output参数)的详解
PHP调用MsSQLServer2012存储过程获取多结果集(包含output参数)的详解 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后
1.脑血管病:缺血性中风、脑出血、短暂性脑缺血发作(TIA) 2.心脏病:心梗、心绞痛、冠状动脉血运重建、充血性心衰3.肾脏病:糖尿病性肾病、肾衰(血肌酐>177mmol/L)(2.0mg/d
1.脑血管病:缺血性中风、脑出血、短暂性脑缺血发作(TIA) 2.心脏病:心梗、心绞痛、冠状动脉血运重建、充血性心衰3.肾脏病:糖尿病性肾病、肾衰(血肌酐>177mmol/L)(2.0mg/d
(1)两个或两个以上相邻导联ST段抬高(胸导≥0.2mV,肢导≥0.1mv),或提示AMI病史伴左束支传导阻滞,起病时间<12h,年龄<75岁。(I类适应征)。 (2)ST段抬高,年龄≥
(1)两个或两个以上相邻导联ST段抬高(胸导≥0.2mV,肢导≥0.1mv),或提示AMI病史伴左束支传导阻滞,起病时间<12h,年龄<75岁。(I类适应征)。 (2)ST段抬高,年龄≥
“”为通配符表示任何一个字符例如“ac”可以匹配“anc”“abc”“acc” “[]”在[]内可以指定要求匹配的字符例如“a[nbc]c”可以匹配“anc”“abc”“acc” 但不可以匹配
重点总结 在ASPNET中要想从目标页获取源页的数据信息可以使用两种方法 一是通过获取源页的控件进而获取控件的属性值 二是直接通过获取源页公开的公共属性来获取源页数据 本示例代码则演示如何
获取图片的尺寸有三种方法 将整个图片文件加载成BufferedImage后获取其尺寸 用ImageReader快捷获取 即下文所陈述的方式 做过简陋的测试效率自至逐步递增 ImageIn
知识大全 asp中获取内容中所有图片与获取内容中第一个图片的代码
复制代码代码如下:cha138/Article/program/Web/201405/30991