--获取某表的所有索引,包括索引归属列名
sp_statistics 'corpinfo'
--获取索引与索引归属列以及描述信息
sp_helpindex 'corpinfo'
--获取某表的约束信息以及归属列
sp_helpconstraint 'corpinfo'
转载于:https://www.cnblogs.com/LOB104-zhanglei/articles/3624186.html
--获取某表的所有索引,包括索引归属列名
sp_statistics 'corpinfo'
--获取索引与索引归属列以及描述信息
sp_helpindex 'corpinfo'
--获取某表的约束信息以及归属列
sp_helpconstraint 'corpinfo'
转载于:https://www.cnblogs.com/LOB104-zhanglei/articles/3624186.html