Oracle寤鸿〃鑴氭湰璁板綍
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle寤鸿〃鑴氭湰璁板綍相关的知识,希望对你有一定的参考价值。
鏍囩锛?/p>
--鍒犻櫎 drop table dianfei; --鍒涘缓琛?/span> create table dianfei 锛?uon varchar2(10) not null, mmonth varchar2(6) not null, ddf number(6,2) not null, djftime date not null, djfzt varchar2(3) not null, dsyjf date not null 锛? --娉ㄩ噴 comment on table dianfei is 鈥?/span>鐢佃〃鈥?/span>; comment on column dianfei.uon is 鈥?/span>鐢ㄦ埛缂栧彿(浠庨敭)鈥?/span>; comment on column dianfei.mmonth is 鈥?/span>缂磋垂鏈堜唤锛堜粠閿級鈥?/span>; comment on column dianfei.ddf is 鈥?/span>鐢佃垂閲戦鈥?/span>; comment on column dianfei.djftime is 鈥?/span>缂磋垂鏃ユ湡鈥?/span>; comment on column dianfei.djfzt is 鈥?/span>缂磋垂鐘舵€?/span>鈥?/span>; comment on column dianfei.dsyjf is 鈥?/span>涓婃湀缂磋垂鏃ユ湡鈥?/span>; --鍒涘缓涓婚敭锛屼粠閿?/span> alter table dianfei add constraint pk_dianfei foreign key (uon) references uuser (uon); alter table dianfei add constraint pk_dianfeia foreign key (mmonth) references money (mmonth);
以上是关于Oracle寤鸿〃鑴氭湰璁板綍的主要内容,如果未能解决你的问题,请参考以下文章