select [表名]=c.Name, [表说明]=isnull(f.[value],''), [列序号]=a.Column_id, [列名]=a.Name, [列说明]=isnull(e.[value],''), [数据库类型]=b.Name, [类型]= case when b.Name = 'image' then 'byte[]' when b.Name in('image','uniqueidentifier','ntext','varchar','ntext','nchar','nv…