如何使用DB脚本在SQL Server中生成数据字典? (数据长度包含在字典中) [英] How to generate Data Dictionary in SQL Server using DB script? (Data Length to be included the Dictionary)

查看:149
本文介绍了如何使用DB脚本在SQL Server中生成数据字典? (数据长度包含在字典中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要生成一个包含以下字段的数据字典:Table,Attribute,DataType,DataLength,Allow Nulls?,PrimaryKey,ForeignKey,FieldDescription。



我需要一个DB脚本。



CodeProject / StackOverflow的解决方案没有DataLength。



非常感谢提前!

Hi,

I need to generate a Data Dictionary with following fields: Table, Attribute, DataType, DataLength, Allow Nulls?, PrimaryKey, ForeignKey, FieldDescription.

I need a DB script for this.

CodeProject/StackOverflow has solutions that does not have DataLength.

Thanks a lot in advance!

推荐答案

下面链接有你的数据脚本



http://www.mssqltips.com/sqlservertip/1499/create-a-sql -server-data-dictionary-in-seconds-using-extended-properties / [ ^ ]
Below link has your data script

http://www.mssqltips.com/sqlservertip/1499/create-a-sql-server-data-dictionary-in-seconds-using-extended-properties/[^]


这篇关于如何使用DB脚本在SQL Server中生成数据字典? (数据长度包含在字典中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆