1:sp_help ‘表名’ 可以查询表相关的信息,包括表中的索引,约束等等 2:sp_helpindex ‘表名’ 查询表相关的索引信息。 3:sp_helpconstraint ‘表名’ 查询表的约束信息