SQL Server索引的优化策略--创建索引create index(索引关键字) indexName(索引名) on userInfo(userName,userAge) create indexName on userInfo(userName,userAge) --查看索引sp_helpindex userInfo --创建唯一性索引create unique indexAge on userInfo(userAge) --删除索引drop indexName on userInfo