语句修改和删除数据表"/>
使用SQL语句修改和删除数据表
alter table student
add scome datetime
alter table student
drop column scome
alter table student
alter column sage tinyint
添加约束
删除约束
alter table course
add constraint ck_creadit check(ccredit>0 and ccredit<=4)
或者
alter table course
add check(ccredit>0 and ccredit<=4)
alter table course
drop constraint ck_credit
或
alter table course
drop ck_credit
删除基本表
更多推荐
使用SQL语句修改和删除数据表
发布评论