您好,登錄后才能下訂單哦!
SELECT (case when a.colorder=1 then d.name else '' end) 表名,
a.colorder 字段序號,a.name 字段名,g.[value] AS 字段說明 FROM syscolumns a left join systypes b
on a.xtype=b.xusertype inner join sysobjects d on a.id=d.id and d.xtype='U' and d.name<>'dtproperties'
left join sys.extended_properties g on a.id=g.major_id AND a.colid = g.minor_id
WHERE d.[name] ='table'
and a.colorder not in (' + notin +')
order by a.id,a.colorder
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。