【正文】
、存儲過程等應(yīng)用元數(shù)據(jù)。然而,大多數(shù)現(xiàn)代的 DBMS 產(chǎn)品存儲這種數(shù)據(jù)作為數(shù)據(jù)庫的一部分。 4. 應(yīng)用元數(shù)據(jù) 存儲在數(shù)據(jù)庫中的第四種數(shù)據(jù)是應(yīng)用元數(shù)據(jù),它用來存儲用戶窗體、報表、查詢和其他形式的查詢組件。 索引對排序和查找是有幫助的,但要付出代價。例如,一個用戶只想訪問 book 表中 ‘ 圖書類別 ’值為 ‘01’ 的那些學(xué)生?;蛘?,可以在 ‘ 圖書名稱 ’字段上創(chuàng)建一個索引,該索引的條目按照 ‘ 圖書名稱 ’ 排序,這樣,該索引的條目可以讀出來,并用來按順序訪問 book 數(shù)據(jù)。 假定數(shù)據(jù)在磁盤上是按 ’ 圖書編號 ’ 的遞增順序排列的,用戶想打印一個按 ’ 圖書名稱 ’ 排序的圖書數(shù)據(jù)報表。索引可以用來排序和快速訪問數(shù)據(jù)。本文第二章所介紹的 SQL語言可以同時用于元數(shù)據(jù)和用戶數(shù)據(jù)。這些系統(tǒng)表存儲了數(shù)據(jù)庫中 表的情況,指出每一個表中有多少列,那一列是主關(guān)鍵字,每一列的數(shù)據(jù)類型的描述,它也存儲索引、關(guān)鍵字、規(guī)則和數(shù)據(jù)庫結(jié)構(gòu)的其他部分。 user(借書證號,姓名,性別,身份編號,身份證,聯(lián)系電話,) book(圖書編號 ,圖書名稱,圖書類別,作者,出版社,出版日期,備注,價格,數(shù)量) 2. 元數(shù)據(jù) 數(shù)據(jù)庫是自描述的,這就意味著它自身包含了它的結(jié)構(gòu)的描述,這種結(jié)構(gòu)的描述稱作元數(shù)據(jù)。當(dāng)然,要想產(chǎn)生一個,顯示圖書名 稱及其借閱者聯(lián)系電話的報表,就需要將這兩個表的行結(jié)合起來。因此數(shù)據(jù)用兩個關(guān)系表示更好。用這種方式構(gòu)成的關(guān)系在進行修改時,會出現(xiàn)問題。第二章描述了一個用以產(chǎn)生良好結(jié)構(gòu)關(guān)系的過程,稱作規(guī)范化。表的列包含域或?qū)傩裕淼男邪瑢?yīng)業(yè)務(wù)環(huán)境中的實體的記錄。 目前,大多數(shù)主流數(shù)據(jù)庫管理系統(tǒng)把用戶數(shù)據(jù)表示為關(guān)系。 數(shù)據(jù)庫 數(shù)據(jù)庫由 DBMS(數(shù)據(jù)庫管理系統(tǒng))處理, DBMS 則由開發(fā)人員和用戶通過應(yīng)用程序直接或間接地使用。 數(shù)據(jù)庫技術(shù)在計算機軟件鄰域研究中一直是非常重要的主題,產(chǎn)生于 60年代, 30 多年來數(shù)據(jù)庫技術(shù)得到了迅速發(fā)展,并已形成較為完整的理論體系和一大批實用系統(tǒng)。開發(fā)的主要過程為:理解用戶的需求,然后,把它們轉(zhuǎn)變?yōu)橛行У臄?shù)據(jù)庫設(shè)計。 第一章 緒 論 數(shù)據(jù)庫應(yīng)用系統(tǒng)開發(fā)簡介 在數(shù)據(jù)庫應(yīng)用系統(tǒng)開發(fā)之前,對開發(fā)數(shù)據(jù)庫的基本概念應(yīng)當(dāng)了解,對數(shù)據(jù)庫的結(jié)構(gòu)、開發(fā)數(shù)據(jù)庫應(yīng)用程序的步驟、開發(fā)體系及方法都應(yīng)當(dāng)有相當(dāng)清晰的了解和認識。 因此本人結(jié)合開入式圖書館的要求,對 MS SQL Server2021 數(shù)據(jù)庫管理系統(tǒng)、SQL 語言 原理、 Delphi 應(yīng)用程序設(shè)計, Delphi 數(shù)據(jù)庫技術(shù)進行了較深入的學(xué)習(xí)和應(yīng)用,主要完成對圖書管理系統(tǒng)的需求分析、功能模塊劃分、數(shù)據(jù)庫模式分析,并由此設(shè)計了數(shù)據(jù)庫結(jié)構(gòu)和應(yīng)用程序。對于前者要求建立起數(shù)據(jù)一致性和完整性強、數(shù)據(jù)安全性好的庫。t resist, human civilization enter a brandnew , books management system too with the convenience, fast, low advantage in expenses is entering people life slowly, manage the traditional books to way to set free out thoroughly, lift highefficiency, alleviate worker39。 【關(guān)鍵詞】圖書管理 系統(tǒng)設(shè)計 信息 【 Abstract】 21 centuries is resources that information that society, social most in conduct and actions in information, will bee the strategy resources cause the extensive concern in to obtain the information?Books is work that the way that we obtain the information bestly, but collect and keep to have great capacity the big increment because of the library books, make traditional books39。因此,圖書管理系統(tǒng)也以方便 、快捷、費用低的優(yōu)點正慢慢地進入人們的生活,將傳統(tǒng)的圖書管理方式徹底的解脫出來,提高效率,減輕工人人員以往繁忙的工作,減小出錯的概率,使讀者可以花更多的時間在選擇書和看書上。迫使人們起用新的管理方法來管理圖書,如何把圖書管理員從繁重的工作中解脫出來呢? 科學(xué)技術(shù)日新月異的進步,讓人類生活發(fā)生了巨大的變化,計算機技術(shù)的飛速發(fā)展,使各行各業(yè)在計算機技術(shù)應(yīng)用方面得到了廣泛的普及和使用。摘 要 二十一世紀是信息的社會,信息作為社會最主要的資源,將成為戰(zhàn)略資源引起人們廣泛的關(guān)注。如何獲取信息?圖書是我們最好的獲取信息的方式,但由于圖書館圖書收藏量大大增加,使傳統(tǒng)的圖書管理員的工作日益繁重起來。信息化時代的到來成為不可抗拒的潮流,人類文明正在進入一個嶄新的時代。從而使人們有更多時間來獲取信息、了解信息、掌握信息 。 managing person increasingly heavy to get people rises to manage the books with the new management method, howing to set free out the books the managing person from the heavy work? The advance of the science technique continuous changes and improvements, let mankind the life took place the enormous variety, the calculator flies technically to develop soon, making the every trade get the extensive universality with use in the aspects of calculator technique information turns the ages es the current that bee can39。s personnel former busy work, let up to e amiss all rate, can make the reader spend more time at choose the book with read the in the but make that people have more time to obtain the information, understand the information and control the information. 目 錄 背 景 ........................................................................................................................ 3 第一章 緒 論 ............................................................................................. 4 數(shù)據(jù)庫應(yīng)用系統(tǒng)開發(fā)簡介 ............................................................... 4 數(shù)據(jù)庫 .............................................................................................. 4 數(shù)據(jù)庫管理系統(tǒng) .............................................................................. 6 創(chuàng)建數(shù)據(jù)庫 ...................................................................................... 7 圖書管理系統(tǒng) ....................................................................................... 7 第二章 數(shù)據(jù)庫理論基礎(chǔ) ................................................................... 13 數(shù)據(jù)庫系統(tǒng)設(shè)計及范式分析 ......................................................... 13 數(shù)據(jù)庫系統(tǒng)設(shè)計 ................................................................................ 13 數(shù)據(jù)庫設(shè)計范式分析 .................................................................... 15 SQL 語言介紹 ...................................................................................... 16 SQL 基礎(chǔ) ......................................................................................... 16 SQL 語句 ......................................................................................... 17 第三章 應(yīng)用系統(tǒng)開發(fā)工具 ................................................................... 20 VCL 組件的體 系結(jié)構(gòu) .......................................................... 20 數(shù)據(jù)庫組件介紹 ................................................................................ 21 SQL 語言在 Delphi 中的應(yīng)用 ....................................................... 22 MS SQL Server 簡述 ........................................................................ 25 第四章 圖書管理系統(tǒng)設(shè)計分析 ........................................................... 26 應(yīng)用需求分析 ....................................................................................... 26 系統(tǒng)功能模塊劃分 ................................................................................ 27 系統(tǒng)數(shù)據(jù)庫設(shè)計 ................................................................................ 27 概念設(shè)計 ........................................................................................ 27 關(guān)系數(shù)據(jù)庫的邏輯設(shè)計 ................................................................ 29 第五章 圖書管理系統(tǒng)應(yīng)用程序設(shè)計 ........................................ 30 系統(tǒng)窗體模塊組成 ........................................................................... 30 數(shù)據(jù)模塊窗體的設(shè)置 ....................................................................... 30 啟動畫面的實現(xiàn) ................................................................................ 30 用戶登錄窗體的的實現(xiàn) ......................................................