#2
gdy03492009-09-14 21:18
|
mysql> create table test(
-> tid int primary key,
-> tcid int,
-> constraint tcref foreign key(tcid) references customers(cid),
-> constraint checktcid check(tcid>1)
-> );
请问如何删除约束checktcid啊?
alter table test drop constraint checktcid
语句不能删除!