Home > Database > Mysql Tutorial > sql 2005 sql 2008 导出数据字典方法

sql 2005 sql 2008 导出数据字典方法

WBOY
Release: 2016-06-07 17:44:19
Original
967 people have browsed it

表名 = d.name,表说明 = isnull (f.value, '' ) , 字段序号 = a.colorder,字段名 = a.name,标识 ( a.id,a.name,) ,主键 (sysobjects name in ( SELECT name FROM sysindexes WHERE indid in ( SELECT indid FROM sysindexkeys WHERE id = a.id AND colid = a

表名=d.name, 表说明=isnull(f.value,'') , 字段序号=a.colorder, 字段名=a.name, 标识( a.id,a.name,), 主键(sysobjects name in ( SELECT name FROM sysindexes WHERE indid in( SELECT indid FROM sysindexkeys WHERE id = a.id AND colid=a.colid ))) , 类型=b.name, 占用字节数=a.length, 长度), 小数位数),0), 允许空a.isnullable, 默认值=isnull(e.text,''), 字段说明,'') FROM syscolumns a left join systypes b on a.xtype=b.xusertype d.namesyscomments e on a.cdefault=e.id left join sys.extended_properties g on a.id=g.major_id and a.colid=g.minor_id d.name,a.id,a.colorder

 

,香港服务器,香港服务器,网站空间
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template