摘要:
11:17 2012-11-26 索引约束--sqlserver中在非空列上作主键,默认会在相应列上创建一个唯一、聚集索引--clustered index is in same filegroup with data.Pkey is not always clustered.1 exec sp_helpconstraint table--获取表中约束(默认值,主键)2 exec sp_helpindex table--获取表中索引3 exec sp_autostats '表名 ' --查看一个表的索引的统计信息有上次修改的时间下面通过一个例子查看,首先添加主键约束1 crea 阅读全文