oracle SQL数据库实训报告(15)

2021-02-21 12:39

references Stu_Info (S_ID) on update restrict on delete restrict;

alter table ChengJi2

add constraint FK_CHENGJI2_CHENGJI2_CHENGJI foreign key () references KeCheng on update restrict on delete restrict;

(6)Table 班级表

/*==============================================================*/ /* Table: BanJi */

/*==============================================================*/ create table BanJi (

BJ_ID numeric(4) not null, NianJi_ID numeric(4) null, ZhuanYe_ID numeric(4) null, BJ_NianJi numeric(4) null, BJ_ZhuanYe numeric(4) null, BJ_Name char(25) null, BJ_FDY numeric(4) null, BJ_BiYe smallint null, constraint PK_BANJI primary key (BJ_ID) );

/*==============================================================*/ /* Index: BanJi_PK */

/*==============================================================*/ create unique index BanJi_PK on BanJi ( BJ_ID ASC );

/*==============================================================*/ /* Index: Relationship_2_FK */

/*==============================================================*/ create index Relationship_2_FK on BanJi ( ZhuanYe_ID ASC );

/*==============================================================*/ /* Index: Relationship_4_FK */

/*==============================================================*/


oracle SQL数据库实训报告(15).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:第5课时 绿色植物的光合作用和呼吸作用

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: