oracle添加外鍵約束的方法

給表添加外鍵約束分兩種狀況,一種是剛建表的時候直接添加外鍵約束,另外一種則是表已經建立好了再添加外鍵約束。sql 建表時添加外鍵約束:code create table test_a( id number not null primary key, name varchar2(50) ); create table test_b( id number not null p
相關文章
相關標籤/搜索