Oracle 10g 以下两句SQL statement 有什么不同呢?
alter 是添加3个主键的呢? 还是 alter 把3个 column 作为一个 primary key 呢? SQL> alter table plsql101_purchase add primary key(
product_name,
salesperson,
purchase_date
);
Table altered.SQL> create table test(
id1 number primary key,
id2 number primary key,
id3 number primary key
);
id2 number primary key,
*
ERROR at line 3:
ORA-02260: table can have only one primary key
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货