【正文】
例如,顧客主文件中的記錄將包含每個(gè)顧客的姓名和地址,而且該文件重慶理工 大學(xué) 202。在該邏輯方式中,記錄通過指針連接在一起。 DBMS 在存儲、訪問和檢索操作過程中可以選用的邏輯技術(shù)有: 1 表結(jié)構(gòu) 2 層次(樹型)結(jié)構(gòu) 3 網(wǎng)狀結(jié)構(gòu) 4 關(guān)系性結(jié)構(gòu)。 邏輯結(jié)構(gòu) 。 順序 的直接的以及 其它的文件處 理方式通常 用于單個(gè)文件 中的組織和結(jié)構(gòu),而 DBMS 可綜合多個(gè)文件的數(shù)據(jù)項(xiàng),并回答某個(gè)用戶對信息的查詢。在面向文件的系統(tǒng)中,需要特定的用戶可以將它們的要求傳送給數(shù)據(jù)員,并準(zhǔn)備信息。這些問題最初可能是模糊的并且 /或者是定義拙劣的,但是人們可以瀏覽數(shù) 據(jù)庫知道獲得數(shù)據(jù)的答案。 DBMS 可組織、處理和顯示從數(shù)據(jù)庫選擇的數(shù)據(jù)源。 處理與創(chuàng)建、訪問以及維護(hù)數(shù)據(jù)庫記錄有關(guān)的復(fù)雜任務(wù)的系統(tǒng)軟件包叫做數(shù)據(jù)管理。數(shù)據(jù)庫本身并沒有什么新東西 —— 早期的數(shù)據(jù)庫鑿在石頭上,記在名冊上,以及寫在索引卡中。安德森 眾所周知,數(shù)據(jù)庫是邏輯上相關(guān)的數(shù)據(jù)源集合。 a great w ay to find such features is to make a statement like that in a book like this.) With the release of version , ADO and its supporting libraries began offering nearly all features available in DAO. DDL libraries w ere added to ADO in version to provide functionality similar to functions available with DAO, such as Create Table, Create F ield, and Create Index. Microsoft Jet and Replication Objects (JRO) in ADO offers much of the Jetspecific functionality available via the DB Engine object in DAO. ADO also added functionality to simplify the 重慶理工 大學(xué) 2021 屆本科生畢業(yè)設(shè)計(jì) (論文 )外文文獻(xiàn)翻譯 19 retrieval of newly generated identity v alues. ADO adds no new functionality to more closely match the capabilities of DAO and RDO, because perhaps the only place w here ADO lags behind DAO is in its searching and filtering capabilities. So ADO has most of the functionality of RDO and DAO as w ell as many helpful features not available in previous data access technologies. Database Management There are problems with traditional data manage ment. A more subtle problem is data dependency. When a problem’s logic is tied to it’s physical data struc ture, changing that structure w ill almost certainly require changing the program. As a result, programs using traditional access methods can be difficult to maintain. The solution to both problems id often anizing the data as a single, integrated databa se. The task of controlling access to all the data can then be concentrated in a centralized database management system. How dose the use of a centralized database solve the data redundancy problem? All data are collected and stored in a single place。m at a loss to name a single significant feature available in RDO that w as not available in ADO in one form or another. (I39。ll get that error. DAO hid the problem from you by automatically creating another connection to your database to perform the action you requested. Another challenge that RDO posed for programmers accustomed to writing DAO code was that RDO lacked many of DAO39。t the problem for most programmers learning RDO: the nuances inherited from the ODBC API posed the greatest obstacles. Suddenly, programmers had to bone up on cursors and bookmarks. They had to learn many of the ins and outs of specific database systems. Does the error message The connection is busy with results from another hstmt ring any bells out there? If you try to do the impossible on an ODBC connection to your database, RDO w on39。s performance and access limitations, developers w ho wanted to w ork with SQL Server and Oracle databases generally sought other options. Remote Data Objects Microsoft provided another option in RDO, w hich originally released with Visual Basic 4 Enterprise Edition. RDO39。s performance with these large database systems. Others plain that DAO doesn39。s take a quick glance at ADO39。s Web site and ship with other products and technologies, such as Microsoft Windows 2021, Microsoft Windows NT 4 Service Packs, Microsoft Inter Explorer versions 3 and later, Microsoft SQL Serve r Service Pack 5 and SQL Server 7, Microsoft Office 2021, and even Microsoft Expedia Streets amp。結(jié)果,設(shè)計(jì)就可能需要再次構(gòu)想以求得理想的數(shù)據(jù)庫存運(yùn)行與預(yù)算和進(jìn)度之間的平衡。邏輯數(shù)據(jù)庫重慶理工 大學(xué) 2021 屆本科生畢業(yè)設(shè)計(jì) (論文 )外文文獻(xiàn)翻譯 13 的設(shè)計(jì)過程不會牽涉實(shí)際執(zhí)行中的問題。比如,當(dāng)討論飾品庫存表和與它相關(guān)的客戶訂單時(shí),就會發(fā)現(xiàn)需要制定一個(gè)送貨約束表。 重復(fù)步驟:我們?nèi)匀辉谠? 在定義了實(shí)體、關(guān)聯(lián)以及屬性之后,設(shè)計(jì)者往往要多重復(fù)幾次數(shù)據(jù)建模過程。 指定實(shí)體屬性 一旦設(shè)計(jì)者定義了實(shí)體間關(guān)聯(lián),下一步就是去指定每個(gè)實(shí)體的屬性。例如,在一個(gè)學(xué)籍注冊數(shù)據(jù)庫中,學(xué)生表與班級表之間有一個(gè)多對多關(guān)聯(lián) —— 一個(gè)學(xué)生可能聽一門或多門課程,并目一個(gè)班級也可能有一個(gè)或多個(gè)學(xué)生。 多對多關(guān)聯(lián): 在多對多關(guān)聯(lián)中,表的一行可能對應(yīng)另一個(gè)表的許多行,反之亦然。這些實(shí)體被認(rèn)為是員工表的子表,并目同員工表維持一對一關(guān)聯(lián)。這種關(guān)聯(lián)類型通常用于子類型數(shù)據(jù)中。這樣,部門實(shí)體和員工實(shí)體間的關(guān)聯(lián)就是一對多關(guān)聯(lián)。意思是對于每個(gè)給出的現(xiàn)有實(shí)體(即父實(shí)體)都有一個(gè)或多個(gè)現(xiàn)有的另一個(gè)實(shí)體(即子實(shí)體)與之相關(guān)聯(lián)。關(guān)聯(lián)表處理的是一個(gè)多對多關(guān)聯(lián)。這個(gè)實(shí)體被稱作關(guān)系表或交表,其中包含工資水平和部門之間的有效聯(lián)合。 在飾品公司數(shù)據(jù)庫中,員工實(shí)體和部門實(shí)體間極可能存在關(guān)聯(lián),而依據(jù)事物間的關(guān)系原則,部門實(shí)體跟工資水平實(shí)體間似乎就沒有關(guān)聯(lián)了。 定義實(shí)體間的關(guān)聯(lián) 一旦定義了實(shí)體,設(shè)計(jì)者就能夠繼續(xù)定義每個(gè)實(shí)體間是如何關(guān)聯(lián)的。比如,在第一版斯科特 飾品公司數(shù)據(jù)庫中,他定義了四個(gè)實(shí)體:員工、部門、工資水平和獎(jiǎng)金。實(shí)體是人、地方或事物,它們對于整個(gè)團(tuán)體是重要的且需要被記錄在數(shù)據(jù)庫中。讓我們進(jìn)一步了解為數(shù)據(jù)庫建模過程的步驟。 數(shù)據(jù)建模過程包括定義實(shí)體、定義實(shí)體間關(guān)聯(lián)以及定義每個(gè)實(shí)體重慶理工 大學(xué) 2021 屆本科生畢業(yè)設(shè)計(jì) (論文 )外文文獻(xiàn)翻譯 11 的屬性的過程。通常,一個(gè)實(shí)體對應(yīng)數(shù)據(jù)庫中的一個(gè)表,而實(shí)體的屬性對應(yīng)于表中的列。有一種為數(shù)據(jù)庫建模的方式叫作 ERA,它可以表示出實(shí)體、實(shí)體間的關(guān)聯(lián)和實(shí)體的屬性。 數(shù)據(jù)建模 在斯科特于數(shù)據(jù)庫中創(chuàng)建真實(shí)表之前,他要經(jīng)過一個(gè)稱作數(shù)據(jù)建模的過程。一個(gè)外碼有助于確定表中數(shù)據(jù)的完整性。參考完整性的概念不只可以阻止無效的部門編號被插入 EMP 表中,而且在某部門仍有員工的情況下,可以防止 DEPT 表中該部門的信息被刪除。既然如此, EMP 表中的部門編號列便被看作是與 DEPT 表中相同列對應(yīng)的外碼。但是你如何知道 哪個(gè)部門名稱對應(yīng)哪個(gè)部門編號呢?斯科特建立了 DEPT 表來具體描述 EMP 表中提到的部門編號的情況。 重慶理工 大學(xué) 2021 屆本科生畢業(yè)設(shè)計(jì) (論文 )外文文獻(xiàn)翻譯 10 留意一下 EMP 表中 存儲 的不同數(shù)據(jù)類型:數(shù)值型,字符型或字母型,以及日期型。如此,員工編號列便是這個(gè)表的主碼。公司總是希望為每個(gè)員工分配一個(gè)員工號 ,并目這個(gè)號碼必須是每個(gè)員工都不同的。一個(gè)單元格就是一個(gè)數(shù)據(jù)庫表的行和列交叉形成的。同樣也明確了公司董事長的管理人單元為空,因?yàn)檫@個(gè)員工不需要向任何人匯報(bào)工作。一個(gè)關(guān)系數(shù)據(jù)庫能夠規(guī)定列中的一個(gè)單元格是否為空。 你會在下面章節(jié)學(xué)到如何設(shè)計(jì)數(shù)據(jù)庫,現(xiàn)在讓我們假設(shè)數(shù)據(jù)庫大部分己經(jīng)設(shè)計(jì)完成并且有一些表需要被執(zhí)行。 行:在一個(gè)數(shù)據(jù)庫表中的一組單數(shù)據(jù)或多數(shù)據(jù)元素,用于描述一個(gè)人、地方或事物。 注意:大多數(shù)斯科特 的雇員都是雇自過去的從業(yè)者,他們中有些人在這個(gè)領(lǐng)域己經(jīng)有 20 年的經(jīng)驗(yàn)了。他剛開辦了一個(gè)飾品公司并目想要使用關(guān)系數(shù)據(jù)庫的幾項(xiàng)基本功能來管理 人力資源 部門。 主碼、數(shù)據(jù)類型和外碼 本篇文章均以假設(shè)的斯科特舉個(gè)例子來說,一個(gè)員工信息表可能有一個(gè)“名字”列,列中就包含所 有員工的名字。 表中的一行是一種事物的集合或?qū)嵗热缫粋€(gè)員工或發(fā)票上的一項(xiàng)。 注意:不要混淆了關(guān)系和關(guān)聯(lián)。 表,行和列 在關(guān)系數(shù)據(jù)庫中,一個(gè)表(或者說一個(gè)關(guān)系)是一個(gè)用于保存相關(guān)信息的二維結(jié)構(gòu)。讓我們了解一下一個(gè)傳統(tǒng)的關(guān)系數(shù)據(jù)庫系統(tǒng)的基本組件并目學(xué)習(xí)如何設(shè)計(jì)一個(gè)關(guān)系數(shù)據(jù)庫。換句話說,關(guān)系數(shù)據(jù)庫有一個(gè) 存儲 數(shù)據(jù)的地方,一種創(chuàng)建和檢索數(shù)據(jù)的方法,以及一種確認(rèn)數(shù)據(jù)的邏輯一致性的方法。s job to bring the designers dow n to earth. As a result, the design may need to be revisited to balance the ideal database implementation versus the realities of budgets and 重慶理工 大學(xué) 2021 屆本科生畢業(yè)設(shè)計(jì) (論文 )外文文獻(xiàn)翻譯 8 schedules. 譯 文: 關(guān)系數(shù)據(jù)庫的結(jié)構(gòu) — 《數(shù)據(jù)庫系統(tǒng)結(jié)構(gòu)》第一章:關(guān)系數(shù)據(jù)庫 關(guān)系模型是任何關(guān)系數(shù)據(jù)庫管理系統(tǒng)( RDBMS)的基礎(chǔ)。 some are not. In the widget pany da