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

正文內(nèi)容

數(shù)據(jù)庫課程設(shè)計論文-圖書租賃管理系統(tǒng)數(shù)據(jù)庫設(shè)計設(shè)計論文數(shù)據(jù)管理系統(tǒng)課程設(shè)計數(shù)據(jù)庫-資料下載頁

2025-02-10 06:56本頁面

【導(dǎo)讀】知識的主要途徑,而各類書店在人們的學(xué)習(xí)生活中也逐漸占據(jù)了重要的位置。脫傳統(tǒng)的人工管理方式,實現(xiàn)科學(xué)、有效地管理書店不僅能提高書店自身的發(fā)展,也能極大的方便各類讀者的需求。因此,開發(fā)一個完善的圖書租賃管理系統(tǒng)是十。理系統(tǒng)的星系過程。本系統(tǒng)采用自頂向下地分析與設(shè)計,自下而上地應(yīng)用開發(fā)的。形成了一個比較全面系統(tǒng)的管理模式。

  

【正文】 e FROM Book,VBorrowBook where = 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 26 create view TBBinfo as select ,Tphno from Book,TBorrowBook where = 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 27 create view InmanagerInfo as select Mname,Mphno,DIneSum,Ddate from SystemManager,Ine where = 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 28 數(shù)據(jù)表視圖的建立( Oracle) create view VBBinfo as select ,Vno,Bwriter,Bname FROM Book,VBorrowBook where = 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 29 create view TBBinfo as select ,Tphno from Book,TBorrowBook where = 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 30 create view InmanagerInfo as select Mname,Mphno,DIneSum,Ddate from SystemManager,Ine where = 附錄 4 觸發(fā)器及存儲過程 存儲過程的定義 ( SQL Server2021) create procedure P1_Book_Insert @Bsno char(15) , @Bname char (30), @Bprice numeric (10), @Bwriter char (20), @Bsort char (10), @BScount smallint, @BNowcount smallint , @BNewcount smallint as insert into Book 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 31 values(@Bsno,@Bname,@Bprice,@Bwriter, @Bsort,@Bscount,@Bnowcount,@Bnewcount)。 create procedure P2_Vip_Insert @Vno char (10) , @Vname varchar (20), @Vsex char (5), @Vphno varchar(11), @Vwexpired char (2), @Vfee smallint, @VAcount smallint, @VBcount smallint, @Waexit char (10), @VMdate datetime as insert into Vip values(@Vno,@Vname,@Vsex,@Vphno,@Vwexpired,@vfee, @Vacount,@Vbcount,@Waexit,@Vmdate)。 create procedure P3_SystemManager_Insert @Mno char(4), @Mname varchar(20), @Mphno char(15) as insert into SystemManager values(@Mno,@Mname,@Mphno) create procedure P4_Ine_Insert @Mno char(4), @Ddate datetime, @Trent smallint, @Efine smallint, @Bdfine smallint, @Lfine smallint, @Vfee smallint, @DIneSum smallint as insert into Ine values(@Mno,@Ddate,@Trent,@Efine,@Bdfine,@Lfine,@Vfee,@DIneSum) 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 32 create procedure P5_VBorrowBook_Insert @Bsno char(15), @Vno char(10), @Ldate datetime, @Rdeadline datetime as insert into VBorrowBook values(@Bsno,@Vno,@Ldate,@Rdeadline) create procedure P6_VReturnBook_Insert @Vno char(10), @Bsno char(15), @Rdeadline datetime, @Rdate datetime, @Wrexpired char(2), @Bdfine smallmoney, @Lfine smallmoney, @Efine smallmoney as insert into VReturnBook values(@Vno,@Bsno,@Rdeadline,@Rdate,@Wrexpired,@Efine,@Bdfine,@Lfine) create procedure P7_TBorrowBook_Insert @Bsno char(15), @Tphno char(15), @Ldate datetime, @ReadLine datetime, @Tdeposit smallint as insert into TBorrowBook values(@Bsno,@Tphno,@Ldate,@Readline,@Tdeposit) create procedure P8_TReturnBook_Insert @Bsno char(15), @Tphno char(15), @Readline datetime, @Rdate datetime, @Wrexpired char(2), 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 33 @Trent smallint, @Efine smallint, @Bdfine smallint, @Lfine smallint as insert into TReturnBook values(@Bsno,@Tphno,@Readline,@Rdate,@Wrexpired, @Trent,@Efine,@Bdfine,@Lfine) create procedure P9_Book_Delete @Bname char(30) as delete from Book where Bname=RTRIM(LTRIM(@Bname))。 create procedure P10_SystemManager_Delete @Mno char(4) as delete from SystemManager where Mno=RTRIM(LTRIM(@Mno))。 create procedure P11_Vip_Delete @Vno char(10) as delete from Vip where Vno=RTRIM(LTRIM(@Vno))。 ,其對應(yīng)的借閱信息也刪除 create procedure P1_del_borrow @Bname char(15) as delete from Book where Bname=@Bname 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 34 ,如果書庫中還有該書可借,進行借閱,否則,出提示信息。 create procedure book_canborrow @Bname varchar(30) as declare @Bscount smallint, @Bnowcount smallint, @Bprice numeric(10,0), @Bsno char(15), @Vno char(10), @Ldate datetime, @Readline datetime, @Tdeposit smallint, @Tphno char(15) /*從 Book 表中選出書的總量 */ select @Bscount=Bscount from Book where Bname=@Bname /*從 Book 表中選出書的現(xiàn)存量 */ select @Bnowcount=Bnowcount from Book where Bname=@Bname /*從 Book 表中選出書的價格 */ select @Bprice=Bprice from Book where Bname=@Bname /*從 Book 表中選出書的店內(nèi)編號 */ select @Bsno=Bsno from Book where Bname=@Bname /*非會員的押金 */ select @Bprice=Bprice from Book where Bname=@Bname set @Tdeposit=@Bprice* if(@Bname in(select Bname from Book)) begin if(@Bnowcount=0) 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 35 begin print39。對不起,您所查詢的 39。+@Bname+39。已全部借出 ,請您選擇其他相關(guān)書籍借閱 39。 end else if(@Bnowcount0) begin print39。您所查詢的 39。+@Bname+39。有庫存,您可以借閱 ,請輸入您的會員卡號39。+@Vno if(@Vno=null) begin insert into TBorrowBook values(@Bsno,@Tphno,@Ldate,@Tdeposit,@Readline) end else if(@Vno0) begin insert into VBorrowBook values(@Bsno,@Vno,@Ldate,@Readline) end end end else print39。您所查詢的書籍不存在,請核對后再查 39。 create procedure day_ine_search @Mno char(4) as declare @Ddate datetime, @DIneSum smallint, @Trent smallint, @Efine smallint, @Bdfine smallint, @Lfine smallint, @Vfee smallint, @Mname varchar(20) /*從 Ine 表中選出當(dāng)天的系統(tǒng)管理員 */ select @Mno=Mno from Ine 2021 級信管專業(yè) 3 班數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計課程論文 36 where Mno=@Mno /*從 Ine 表中選出當(dāng)天非會員的租金 */ select @Trent=Trent from Ine where Mno=@Mno /*從 Ine 表中選出當(dāng)天過期還書的罰款 */ select @Efine=Efine from Ine where Mno=@Mno /*從 Ine 表中選出當(dāng)天還書中因書被損壞所收的罰金 */ select @Bdfine=Bdfine from Ine where Mno=@Mno /*從 Ine 表中選出當(dāng)天因書丟失所收到的賠償金 */ select @Lfine=Lfine from Ine where Mno=@Mno /*從 Ine 表中選出當(dāng)天因為新增會員所收的會員費 */ select @Vfee=Vfee from Ine where Mno=@Mno /*從 SystemManager 表中選出管理員姓名 */ select @Mname=Mname from SystemManager where @Mno=Mno set @DIneSum=0 begin set @DIneSum=@Trent+@Efine+@Bdfine+@Lfine+@Vfee print39。當(dāng)天的
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1