码迷,mamicode.com
首页 > 其他好文 > 详细

K3数据字典备查

时间:2018-05-28 15:00:24      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:数据字典   类型   ldd   ble   字典   eid   数据类型   obj   字段   

 

select distinct f.FNumber as 系统代码, f.FName AS 系统名称,  
d.FTableName AS 表名,d.FDescription AS 表说明,a.[name] as 字段代码,c.[name] as 数据类型,  
a.[length] as 长度, e.fdescription as 字段说明,e.ffieldnote AS 备注  
from syscolumns a  
join sysobjects b on a.id = b.id  
join systypes c on c.xusertype = a.xusertype  
left outer join t_tabledescription d on (d.ftablename=b.name )  
left outer join t_subsystem f on(f.fsubsysid=d.fsubsystemid)  
left outer join t_fielddescription e on(a.name=e.ffieldname and  d.ftableid=e.ftableid)  
where d.ftableid is not null  
order by f.FNumber,d.FTableName,a.[name]

K3数据字典备查

标签:数据字典   类型   ldd   ble   字典   eid   数据类型   obj   字段   

原文地址:https://www.cnblogs.com/huangdashen/p/9099814.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!