首页 > 代码库 > sql 系统函数

sql 系统函数

--查看表备注
SELECT a.column_id AS No, a.name AS 列名, isnull(g.[value],‘-‘) AS 说明 FROM sys.columns a left join sys.extended_properties g on (a.object_id = g.major_id AND g.minor_id = a.column_id) WHERE object_id = (SELECT object_id FROM sys.tables WHERE name = ‘STK_In‘)

  

sql 系统函数