This commit is contained in:
hodong13 2020-10-22 04:08:09 +00:00
parent f76e8c5916
commit 5cdce10df6
2 changed files with 2 additions and 0 deletions

View File

@ -978,6 +978,7 @@ create table lect (
,ispcs tinyint ,ispcs tinyint
,ispce tinyint ,ispce tinyint
,fgno2 bigint ,fgno2 bigint
,cmisno bigint null
,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL ,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL
,primary key(lectno)); ,primary key(lectno));

View File

@ -130,6 +130,7 @@ alter table lect add constraint foreign key fklectcm2 (orgcmno) references cm(cm
alter table lect add constraint foreign key fklectcm3 (pcno) references cm(cmno); alter table lect add constraint foreign key fklectcm3 (pcno) references cm(cmno);
alter table lect add constraint foreign key fklectfg (fgno) references filegroup(fgno); alter table lect add constraint foreign key fklectfg (fgno) references filegroup(fgno);
alter table lect add constraint foreign key fklectfg2 (fgno2) references filegroup(fgno); alter table lect add constraint foreign key fklectfg2 (fgno2) references filegroup(fgno);
alter table lect add constraint foreign key fklectcminningscd (cmisno) references cminningscd(cmisno);
alter table lectinning add constraint foreign key kflectinninglect (lectno) references lect(lectno); alter table lectinning add constraint foreign key kflectinninglect (lectno) references lect(lectno);
alter table lectinning add constraint foreign key kflectinningcmi (cmino) references cminning(cmino); alter table lectinning add constraint foreign key kflectinningcmi (cmino) references cminning(cmino);
alter table lectinningpage add constraint foreign key kflectinningpagelect (lectno) references lect(lectno); alter table lectinningpage add constraint foreign key kflectinningpagelect (lectno) references lect(lectno);