1.

/*
建索引
*/
--建普通索引
create index 索引名称 on 表名(字段)
--建聚集索引
create clustered index 索引名称 on 表名(字段)
--建非聚集索引
create NONCLUSTERED index 索引名称 on 表名(字段)

/*
删除索引
*/
drop index 表名.索引名称

2.设计表 -》右健点击字段名 -》索引/键

posted on 2008-09-12 13:57  8user  阅读(964)  评论(0)    收藏  举报