教务系统课程设计(编辑修改稿)内容摘要:
F39。 ) where = object_id(39。 教材使用 39。 ) and = 39。 FK_教材使用 _教材使用 2_SBMANAGE39。 ) alter table 教材使用 drop constraint FK_教材使用 _教材使用 2_SBMANAGE go if exists (select 1 from r join o on ( = and = 39。 F39。 ) where = object_id(39。 教材发放 39。 ) and = 39。 FK_教材发放 _教材发放 _STUDENTM39。 ) alter table 教材发放 drop constraint FK_教材发放 _教材发放 _STUDENTM go 14 if exists (select 1 from r join o on ( = and = 39。 F39。 ) where = object_id(39。 教材发放 39。 ) and = 39。 FK_教 材发放 _教材发放 2_SBMANAGE39。 ) alter table 教材发放 drop constraint FK_教材发放 _教材发放 2_SBMANAGE go if exists (select 1 from sysindexes where id = object_id(39。 Classmangement39。 ) and name = 39。 Relationship_7_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysobjects where id = object_id(39。 Classmangement39。 ) and type = 39。 U39。 ) drop table Classmangement go if exists (select 1 from sysobjects where id = object_id(39。 Courseinformationform39。 ) and type = 39。 U39。 ) drop table Courseinformationform go if exists (select 1 from sysobjects where id = object_id(39。 Departmentform39。 ) and type = 39。 U39。 ) drop table Departmentform go if exists (select 1 from sysindexes where id = object_id(39。 GradeManagement39。 ) and name = 39。 Relationship_5_FK39。 and indid 0 and indid 255) drop index 15 go if exists (select 1 from sysindexes where id = object_id(39。 GradeManagement39。 ) and name = 39。 Relationship_3_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysobjects where id = object_id(39。 GradeManagement39。 ) and type = 39。 U39。 ) drop table GradeManagement go if exists (select 1 from sysobjects where id = object_id(39。 SBMANAGE39。 ) and type = 39。 U39。 ) drop table SBMANAGE go if exists (select 1 from sysindexes where id = object_id(39。 TeachManage39。 ) and name = 39。 Relationship_9_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysindexes where id = object_id(39。 TeachManage39。 ) and name = 39。 Relationship_8_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 16 from sysobjects where id = object_id(39。 TeachManage39。 ) and type = 39。 U39。 ) drop table TeachManage go if exists (select 1 from sysindexes where id = object_id(39。 TeacherManage39。 ) and name = 39。 Relationship_6_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysobjects where id = object_id(39。 TeacherManage39。 ) and type = 39。 U39。 ) drop table TeacherManage go if exists (select 1 from sysindexes where id = object_id(39。 studentmanage39。 ) and name = 39。 Relationship_2_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysindexes where id = object_id(39。 studentmanage39。 ) and name = 39。 Relationship_1_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysobjects where id = object_id(39。 studentmanage39。 ) and type = 39。 U39。 ) 17 drop table studentmanage go if exists (select 1 from sysindexes where id = object_id(39。 教材使用 39。 ) and name = 39。 教材使用 2_FK39。 and indid 0 and indid 255) drop index 教材使用 .教材使用 2_FK go if exists (select 1 from sysindexes where id = object_id(39。 教材使用 39。 ) and name = 39。 教材使用 _FK39。 and indid 0 and indid 255) drop index 教材使用 .教材使用 _FK go if exists (select 1 from sysobjects where id = object_id(39。 教材使用 39。 ) and type = 39。 U39。 ) drop table 教材使用 go if exists (select 1 from sysindexes where id = object_id(39。 教材发放 39。 ) and name = 39。 教材发放 2_FK39。 and indid 0 and indid 255) drop index 教材发放 .教材发放 2_FK go if exists (select 1 from sysindexes where id = object_id(39。 教材发放 39。 ) and name = 39。 教材发放 _FK39。 and indid 0 and indid 255) drop index 教材发放 .教材发放 _FK 18 go if exists (select 1 from sysobjects where id = object_id(39。 教材发放 39。 ) and type = 39。 U39。 ) drop table 教材发放 go alter table Classmangement add constraint FK_CLASSMAN_RELATIONS_DEPARTME foreign key (Depar_Id) references Departmentform (Depar_Id) go alter table GradeManagement add constraint FK_GRADEMAN_RELATIONS_STUDENTM foreign key (St_Id) references studentmanage (St_Id) go alter table GradeManagement add constraint FK_GRADEMAN_RELATIONS_COURSEIN foreign key (Course_Id) references Courseinformationform (Course_Id) go alter table TeachManage add constraint FK_TEACHMAN_RELATIONS_COURSEIN foreign key (Course_Id) references Courseinformationform (Course_Id) go alter table TeachManage add constraint FK_TEACHMAN_RELATIONS_TEACHERM foreign key (T_Id) references TeacherManage (T_Id) go alter table TeacherManage add constraint FK_TEACHERM_RELATIONS_COURSEIN foreign key (Course_Id) references Courseinformationform (Course_Id) go alter table studentmanage add constraint FK_STUDENTM_RELATIONS_DEPARTME foreign key (Depar_Id) references Departmentform (Depar_Id) go 19 alter table studentmanage add const。教务系统课程设计(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。