代码如下: CREATE VIEW dbo.vw_db_dictionary AS SELECT TOP 100 PERCENT dbo.sysobjects.name AS table_name, dbo.sysproperties.[value] AS table_desc, dbo.syscolumns.name AS field, properties.[value] AS field_desc, dbo.systypes.name AS field_type, dbo.syscolumns.length AS field_size, ISNULL(COLUMNPROPERTY(dbo.syscolumns.id, dbo.syscolumns.name, 'Scale'), 0) AS field_precisio...
[ 查看全文 ]