摘要:
建立索引 create index 唯一/聚簇 索引名 on 表名(列名 升降序) create index unique Sname on Student(Sname ASC) create index Sname on Student(Sname DSC) 删除索引 drop index 索引名 阅读全文
摘要:
修改表 修改表要使用 alter table 表名 增加列 add 列名 列属性alter table Student add SS int 更改列类型 alter column 列名 新类型 alter table Student alter column SS char(4) 删除列 drop 阅读全文