JC_ID numeric(4) not null, S_ID numeric(4) not null, BX_Date date null, BX_Date_End date null, BX_NR char(100) null, constraint PK_BIAOXIAN primary key clustered (JC_ID, S_ID) );
/*==============================================================*/ /* Index: BiaoXian_PK */
/*==============================================================*/ create unique clustered index BiaoXian_PK on BiaoXian ( JC_ID ASC, S_ID ASC );
/*==============================================================*/ /* Index: BiaoXian_FK */
/*==============================================================*/ create index BiaoXian_FK on BiaoXian ( JC_ID ASC );
/*==============================================================*/ /* Index: BiaoXian2_FK */
/*==============================================================*/ create index BiaoXian2_FK on BiaoXian ( S_ID ASC );
alter table BiaoXian
add constraint FK_BIAOXIAN_BIAOXIAN_JIANGCHE foreign key (JC_ID) references JiangCheng (JC_ID) on update restrict on delete restrict;
alter table BiaoXian
add constraint FK_BIAOXIAN_BIAOXIAN2_STU_INFO foreign key (S_ID) references Stu_Info (S_ID) on update restrict on delete restrict;
(9)Table 课程表
/*==============================================================*/ /* Table: KeCheng */
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库oracle SQL数据库实训报告(17)在线全文阅读。
相关推荐: