输入banner图图片脚本导航/分类

SQL Server 查询表的字段对应描述

@tableName nvarchar(20) set @tableName = User select b.name, a.value from sys.extended_properties a, sys.columns b where a.major_id = OBJECT_ID(@tableName) and a.major_id = b.object_id and a.minor_id = b.column_id;

 

SQL Server 查询表的字段对应描述

标签:server   查询   use   name   字段   select   har   nvarchar   nbsp