freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

數(shù)據(jù)庫課程設計倉庫庫存管理系統(tǒng)(編輯修改稿)

2025-05-04 23:10 本頁面
 

【文章內容簡介】 l check(pvaliddatetime0), pprice numeric not null check(pprice0) )。 表二倉庫表 create table warehouses( wno char(5) primary key, wname Varchar(30) not null, wplace Varchar(100) not null )。 表三供應商表 create table providers( pdno char(5) primary key, pdname Varchar(30) not null, pdplace Varchar(100) not null, pdphonenum Varchar(11) not null )。表四供應表 create table supply( pdno char(5) not null, pno char(5) not null, productiondatetime datetime not null, supplydatetime datetime not null, supplyamount int not null check(supplyamount0) )。 主鍵約束 alter table supply add constraint supply_pdno_pno_pdatetime_pk primary key(pdno,pno,productiondatetime)。 外鍵約束 alter table supply add constraint supply_pdno_fk foreign key(pdno) references providers(pdno)。 alter table supply add constraint supply_pno_fk foreign key(pno) references products(pno)。 表五入庫表 create table storgein( pno char(5) not null, wno char(5) not null, productiondatetime datetime not null, storgeinamount int not null check(storgeinamount0), storgeintime datetime not null )。主鍵約束 alter table storgein add constraint storgein_pno_wno_pdatetime_pk primary key(pno,wno,productiondatetime)。外鍵約束alter table storgein add constraint storgein_pno_fk foreign key(pno) references products(pno)。 alter table storgein add constraint storgein_wno_fk foreignkey(wno) references warehouses(wno)。 表六出庫表 create table storgeout( pno char(5) not null, wno char(5) not null, productiondatetime datetime not null, storgeoutamount int check(storgeoutamount0), storgeouttime datetime not null )。 主鍵約束alter table storgeout add constraint storgeout_pno_wno_pdatetime_pk primarykey(pno,wno,productiondatetime)。外鍵約束alter table storgeout add constraint storgeout_pno_fk foreignkey(pno) references products(pno)。alter table storgeout add constraint storgeout_wno_fk foreign key(wno) references warehouses(wno)。 表七總庫存表 create table totalstorge( pno char(5) not null, wno char(5) not null, total int, storgeupper int not null check(storgeupper0), storgelower int not null check(storgelower0) )。 主鍵約束 alter table totalstorge add constraint totalstorge_pno_wno_pk primary key(pno,wno)。 外鍵約束alter table totalstorge add constraint totalstorge_pno_fk foreign key(pno) references products(pno)。alter table totalstorge add constraint totalstorge_wno_fk foreignkey(wno) references warehouses(wno)。 表八 價格調整表create table priceadjust( pno char(5) not null, productiondatetime datetime not null, oldprice int not null check(oldprice0), newprice int not null check(newprice0) )。 主鍵約束 alter table priceadjust add constraint priceadjust_pdatetime_pk primary key(pno,productiondatetime)。外鍵約束 alter table priceadjust add constraint priceadjust_pno_fk foreign key(pno) references products(pno)。表九用戶表create table users( uno char(5) primary key, uname varchar(30) not null, uaccount varchar(30) not null , upassword varchar(30) not null , )。系統(tǒng)關鍵技術實現(xiàn)123456存儲過程設計1.2.3.4.5.6... 創(chuàng)建一個存儲過程將所有的商品價格都增加一元create procedure pro_adjustprice as begin update products set ppr
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1