
【Oracle Database】数据库约束管理
主键约束 SQL> alter table customers add constraint customers_pk primary key (customer_id); Table altered. col constrain...
主键约束 SQL> alter table customers add constraint customers_pk primary key (customer_id); Table altered. col constrain...
alter table S alter column SN CHAR(8) not NULL --设置SN为非空(但此处没有命名约束的...