【正文】
九 .參考文獻 百度文庫 。 七 .總結 通過這次的認識實習,使我接觸了 UML 這樣的建模軟件,也意識到自己沒有學過的東西太多,對于軟件知識的欠缺要多加彌補,而且這次實習也讓我體會到現(xiàn)學現(xiàn)動手操作的重要性,鍛煉的是我的反應能力。 alter table 用戶交流平臺 add constraint FK_用戶交流平臺 _RELATIONS_ADMINIST foreign key (更改賬戶 ID) references Administrator (更改賬戶 ID) on update restrict 30 on delete restrict。 /*==============================================================*/ /* Index: Relationship_11_FK */ /*==============================================================*/ create index Relationship_11_FK on 用戶交流平臺 ( 更改賬戶 ID ASC )。 drop table if exists 用戶交流平臺 。 drop index if exists 用戶交流平臺 .Relationship_12_FK。FK_ 用 戶 交 流 平 臺_RELATIONS_客戶 39。) then alter table 用戶交流平臺 delete foreign key FK_用戶交流平臺 _RELATIONS_ADMINIST end if。 if exists(select 1 from where role=39。 alter table 退票 add constraint FK_退票 _RELATIONS_客戶 foreign key (更改賬戶 ) references 客戶 (更改賬戶 ) on update restrict on delete restrict。 /*==============================================================*/ /* Index: Relationship_3_FK */ /*==============================================================*/ create index Relationship_3_FK on 退票 ( 更改賬戶 ASC )。 drop table if exists 退票 。 drop index if exists 退票 .Relationship_8_FK。FK_ 退票_RELATIONS_ADMINIST39。) then alter table 退票 delete foreign key FK_退票 _RELATIONS_客戶 end if。 if exists(select 1 from where role=39。 alter table 訂票 add constraint FK_訂票 _RELATIONS_客戶 foreign key (更改賬戶 ) references 客戶 (更改賬戶 ) on update restrict on delete restrict。 /*==============================================================*/ /* Index: Relationship_4_FK */ /*==============================================================*/ create index Relationship_4_FK on 訂票 ( 更改賬戶 ASC )。 drop table if exists 訂票 。 drop index if exists 訂票 .Relationship_9_FK。FK_ 訂票_RELATIONS_ADMINIST39。) then alter table 訂票 delete foreign key FK_訂票 _RELATIONS_客戶 end if。 24 if exists(select 1 from where role=39。 alter table 查詢 add constraint FK_查詢 _RELATIONS_ADMINIST foreign key (更改賬戶 ID) references Administrator (更改賬戶 ID) on update restrict on delete restrict。 /*=========================================================== 23 ===*/ /* Index: Relationship_5_FK */ /*==============================================================*/ create index Relationship_5_FK on 查詢 ( 更改賬戶 ASC )。 drop table if exists 查詢 。 drop index if exists 查詢 .Relationship_10_FK。FK_查詢 _RELATIONS_客戶 39。) then alter table 查詢 delete foreign key FK_查詢 _RELATIONS_ADMINIST end if。 if exists(select 1 from where role=39。 /*==============================================================*/ /* Index: Relationship_7_FK */ /*==============================================================*/ create index Relationship_7_FK on 航班信息管理 ( 更改賬戶 ID ASC )。 drop table if exists 航班信息管理 。) then alter table 航班信息管理 delete foreign key FK_航班信息管理 _RELATIONS_ADMINIST end if。 if exists(select 1 from where role=39。 /*=========================================================== 20 ===*/ /* Index: Relationship_6_FK */ /*==============================================================*/ create index Relationship_6_FK on 機票管理 ( 更改賬戶 ID ASC )。 drop table if exists 機票管理 。) then alter table 機票管理 delete foreign key FK_機票管理 _RELATIONS_ADMINIST end if。 if exists(select 1 from where role=39。 /*==============================================================*/ /* Index: Relationship_1_FK */ /*==============================================================*/ create index Relationship_1_FK on 客戶 ( )。 /*==============================================================*/ /* Table: 客戶 */ /*=================