Sql语句
1. 删除表
drop table name
增加列(增加列后不能删除)
Altertable t1 add column col int
加主键
Altertable t1 add primary key(col)
创建索引
Createindex idx on table (col ….)
Drop indexindexname
索引不可修改 只能删除重建
Sql语句
1. 删除表
drop table name
增加列(增加列后不能删除)
Altertable t1 add column col int
加主键
Altertable t1 add primary key(col)
创建索引
Createindex idx on table (col ….)
Drop indexindexname
索引不可修改 只能删除重建