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

正文內(nèi)容

圖書管理系統(tǒng)數(shù)據(jù)庫課程設(shè)計(jì)報告-閱讀頁

2024-09-26 09:49本頁面
  

【正文】 Il_a,Il_b,Il_d,Il_f,Il_w if =or iSNull()then messagebox(缺少數(shù)據(jù) ,請輸入借書證書 ID) () return elseif =or iSNull()then messagebox(缺少數(shù)據(jù) ,請輸入圖書編號 ) () return end if Is_bookid=long() Is_cert_id=long() Is_loandates=datetime(today()) Is_returndates=relativedate (today(),30) Is_flag=0//自定義為 0 select into:Il_j from loan where =:Is_cert_id and :Is_loandates and =0。 select count(flag) into: Il_i from loan where =:Is_cert_id and flag=0。 messagebox(信息錯誤 ,所借書已超 10 本,請先還書! ) () elseif Il_a1 and Il_i=6 then //說明: Il_a1 則可以借 6 本書。 if Il_m Is_bookid then messagebox(信息錯誤 ,數(shù)據(jù)庫內(nèi)沒有此圖書信息! ) () return end if select into:Il_n from CertificateInfo where =:Is_cert_id。 if Il_d=2 then messagebox(信息錯誤 ,此證已被掛失! ) return end if //說明如果 flag=1 時則此書已被借出,如 flag=0 則沒有借出 select into:Il_b from bookinfo where =:Is_bookid。 select into:Il_v from loan where =:Is_cert_id and =:Is_flag。 if Il_f=0 and Il_v=Is_cert_id then (Is_cert_id,Is_flag) end if messagebox(提示信息 ,圖書編號為 +string(long(Is_bookid))+的圖書已借成功) update bookinfo set flag1=1 where =:Is_bookid。 if Il_jIs_loandates and Il_jIl_k then messagebox(提示信息 ,所借書在 +string(datetime(Il_j))+ 已超期,請你還書! ) () end if if = then messageBox(數(shù)據(jù)不全 ,請輸入借書證號 ) return end if select into:Il_d from certificateinfo where =:Is_cert_id。 if Il_a=0 then messagebox(信息錯誤 ,不存在此證件! ) return end if select into:Il_b from loan where =:Is_cert_id。 select into:Il_f from loan where =:Is_cert_id and =:Is_flag。 select into:Il_d from loan where =:Is_bookid and :Is_loandates1。 select into:Il_b from bookinfo where =:Is_bookid 。 else insert into momey values(:Is_bookid, :Il_h, :Il_l)。//還書后將本書的 flag1 置 0 update loan set flag=1 where =:Is_bookid 。 select into:Il_a from loan where =:Is_bookid。 messagebox(提示信息 ,此書的借閱次數(shù)為 +string(integer(Il_b))+次 !) 刪除記錄: integer Il_a delete from loan where =1。 if Il_a=0 then messageBox(提示信息 ,刪除成功 ) end if 運(yùn)行維護(hù) 針對不同的應(yīng)用要求制定不同的轉(zhuǎn)儲計(jì)劃,一旦發(fā)生故障盡快將數(shù)據(jù)庫恢復(fù)到某種一致的狀態(tài),并盡可能減少對數(shù)據(jù)庫的破壞; 根據(jù)實(shí)際情況修改數(shù)據(jù)庫原有的安全性、完整性控制; 在數(shù)據(jù)庫運(yùn)行過程中,監(jiān)督系統(tǒng)運(yùn)行,對監(jiān)測數(shù)據(jù)進(jìn)行分析, 找出改進(jìn)系統(tǒng)性能的方法; 數(shù)據(jù)庫運(yùn)行一段時間后,由于記錄不斷增、刪、改,會使數(shù)據(jù)庫的物理存儲情況變壞,降低數(shù)據(jù)的存取效率,數(shù)據(jù)庫性能下降。當(dāng)原有的數(shù)據(jù)庫設(shè)計(jì)不能滿足新的需求,需要重構(gòu)造數(shù)據(jù)庫,調(diào)整數(shù)據(jù)庫的模式和內(nèi)模式。并把此書的借閱記錄錄入到 loan 表中,此書在 loan 表中 的 flag 標(biāo)記置為 0,表示此書未還,在查看借書記錄時查看的是未還書的記錄,要對 flag1 標(biāo)記進(jìn)行判斷。 還書:還書時將此書 bookinfo 表中的 flag 標(biāo)記置為 0(表示已還),然后再將 loan 表中的 flag 標(biāo)記置為 1。 查看借閱信息:在查看借閱信息直接從 loan 表中讀出,需要把 bookinfo 表和 loan 表相連(按書名查閱),查看借閱信息主 要是為了判斷什么書是熱門圖書。不過大家 在確定了選題之后,就開始積極的準(zhǔn)備當(dāng)中,我也開始了圖書 管理 系統(tǒng)的課程設(shè)計(jì)。開始時沒有頭緒的,思路漸漸有所清晰后,我就進(jìn)行概念結(jié)構(gòu)設(shè)計(jì)。在畫 ER 圖時,按自己大腦的過期思維去想,應(yīng)該是我們所體現(xiàn)出來的上述 ER 圖,但是預(yù)約和借閱,借閱和續(xù)借,和還書之間的關(guān)系沒有體現(xiàn),這又是一大漏洞??傊覀冋J(rèn)為這個系統(tǒng)需要改進(jìn)的地方還有很多很多。在設(shè)計(jì)的期間,遇到的問題很多,好多知識根本就不懂,然后經(jīng)過查書沒上網(wǎng)搜索和問老師和同學(xué),最后終于慢慢的完成了這個課程設(shè)計(jì)。謝謝大家??!謝謝老師 !!
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1