1.表结构信息查询 表结构信息查询
【相关文章:Zend公司将PHP开发工具植入i系列服】 【扩展阅读:i系列服务器上运行websphere介绍】select 【扩展信息:IBM i系列服务器助犹他州银行简化业务】 tablename=case when c.column_id=1 then o.name else n end, tabledesc=isnull(case when c.column_id=1 then ptb.[value] end,n), column_id=c.column_id, columnname=c.name, primarykey=isnull(idx.primarykey,n), [identity]=case when c.is_identity=1 then n√else n end, computed=case when c.is_computed=1 then n√else n end, type=t.name, length=c.max_length, precision=c.precision, scale=c.scale, nullable=case when c.is_nullable=1 then n√else n end, [default]=isnull(d.definition,n), columndesc=isnull(pfd.[value],n), indexname=isnull(idx.indexname,n), indexsort=isnull(idx.sort,n), create_date=o.create_date, modify_date=o.modify_date from sys.columns c inner join sys.objects o on c.[object_id]=o.[object_id] and o.type=u and o.is_ms_shipped=0 inner join sys.types t ... 下一页