【文章內(nèi)容簡介】
借_FK39。 and =39。租借39。) then drop index end if。if exists( select 1 from i, t where = and =39。租借_PK39。 and =39。租借39。) then drop index end if。if exists( select 1 from where table_name=39。租借39。 and table_type in (39。BASE39。, 39。GBL TEMP39。)) then drop table 租借end if。if exists( select 1 from i, t where = and =39。租借流水帳_PK39。 and =39。租借流水帳39。) then drop index end if。if exists( select 1 from where table_name=39。租借流水帳39。 and table_type in (39。BASE39。, 39。GBL TEMP39。)) then drop table 租借流水帳end if。if exists( select 1 from i, t where = and =39。逾期罰款通知_PK39。 and =39。逾期罰款通知39。) then drop index end if。if exists( select 1 from where table_name=39。逾期罰款通知39。 and table_type in (39。BASE39。, 39。GBL TEMP39。)) then drop table 逾期罰款通知end if。if exists( select 1 from i, t where = and =39。預(yù)約登記_PK39。 and =39。預(yù)約登記39。) then drop index end if。if exists( select 1 from where table_name=39。預(yù)約登記39。 and table_type in (39。BASE39。, 39。GBL TEMP39。)) then drop table 預(yù)約登記end if。/*==============================================================*//* Table: Association_4 *//*==============================================================*/create table Association_4 ( 工號 tinyint not null, 記錄罰款單號 char(20) not null, 罰款日期 date null, 、經(jīng)辦員工號 char(256) null, Attribute_30 char(10) null, constraint PK_ASSOCIATION_4 primary key clustered (工號, 記錄罰款單號))。/*==============================================================*//* Index: Association_4_PK *//*==============================================================*/create unique clustered index Association_4_PK on Association_4 (工號 ASC,記錄罰款單號 ASC)。/*==============================================================*//* Index: Association_4_FK *//*==============================================================*/create index Association_4_FK on Association_4 (工號 ASC)。/*==============================================================*//* Index: Association_5_FK *//*==============================================================*/create index Association_5_FK on Association_4 (記錄罰款單號 ASC)。/*==============================================================*//* Table: 同意租借 *//*==============================================================*/create table 同意租借 ( 工號 tinyint not null, 租借記錄單號 char(20) not null, 數(shù)量 tinyint null, constraint PK_同意租借 primary key clustered (工號, 租借記錄單號))。/*==============================================================*//* Index: 同意租借_PK *//*==============================================================*/create unique clustered index 同意租借_PK on 同意租借 (工號 ASC,租借記錄單號 ASC)。/*==============================================================*//* Index: 同意租借_FK *//*==============================================================*/create index 同意租借_FK on 同意租借 (工號 ASC)。/*==============================================================*//* Index: 同意租借2_FK *//*==============================================================*/create index 同意租借2_FK on 同意租借 (租借記錄單號 ASC)。/*==============================================================*//* Table: 商店管理員 *//*==============================================================*/create table 商店管理員 ( 姓名 char(20) null, 性別 char(4) null, 工號 tinyint not null, 年齡 tinyint null, 政治面貌 char(10) null, constraint PK_商店管理員 primary key (工號))。/*==============================================================*//* Index: 商店管理員_PK *//*==============================================================*/create unique index 商店管理員_PK on 商店管理員 (工號 ASC)。/*========