数据库管理系统

数据库管理系统
作 者: 游志男
出版社: 中国水利水电出版社
丛编项:
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: 数据库存储与管理
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《数据库管理系统》作者简介

内容简介

本书对数据库管理系统的相关知识做了全面而深入的介绍,其中包括数据库管理系统的基本概念和功能、数据库的规划设计和建立、系统的安全性、存取权限、数据操作处理、流程控制语句、索引和视图、数据库的完整性等。书中列举了大量实例,并在大部分章后附有习题,便于读者掌握所学知识。 本书内容翔实,叙述生动。适合对数据库技术感兴趣的计算机用户,对于从事数据库开发的专业人士也有相当的参考价值。

图书目录

Chapter 1 Introduction to Database

第1章 数据库导论

1-1 Examples of Database 数据库实例

1-2 The Traditional File Processing Environment 传统文件处理的环境

1-3 The Integrated Datable Environment 集成数据库环境

1-3. 1 The Database 什么是数据库

1-3. 2 The Database Management System DBMS

1-3. 3 Components of the Database Environment 数据库环境的主要部分

1-4 Roles in the Database Environment 在数据库环境中的角色

1-4. 1 Data and Database Administrators 数据和数据库管理者

1-4. 2 Database Designers 数据库设计者

1-4. 3 Application Programmers 应用程序设计师

1-5 Data Sharing&Database 数据共享与数据库

1-6 Internet/Intranet. Web与Database

1-7 The History of Database Systems 数据库管理系统的简史

1-8 CaseStudy 实例研究

1-9 Summary 小结

1-10 习题

Chapter 2 Database Environment

第2章 数据库的环境

2-1 TheThree-Level ANSI-SPARC Architecture 三层结构

2-1. 1 Extemal Views 外层观点

2-1. 2 Logical or Conceptual Model

2-1. 3 Interna lor Physical Model

2-1. 4 Schemas, Mapping, and Instances

2-1. 5 Logical&Physical Data Independence 逻辑数据独立与物理数据独立

2-2 Database Languages

2-2. 1 The Data Defmition Language

2-2. 2 The Data Manipulation Language

2-2. 3 4GL

2-3 Data Characteristics 数据的特性

2-4 Conceptual Modeling and Logical Data Models

2-4. 1 Conceptual Modeling

2-4. 2 Record-Based Logical Models

2-4. 3 Object-Based Logical Models 以对象为基础的逻辑模式

2-5 Functions of a DBMS

2-6 Components of a DBMS

2-7 Multi-User DBMS Architectures 多用户数据库管理系统的结构

2-7. 1 Teleprocessing

2-7. 2 File-Server

2-7. 3 Client-Server

2-7. 4 Traditional two-tier client-server architecture

2-7. 5 Three-tier architecture 三层式结构

2-8 System Catalogs

2-9 习题

Chapter 3 Database Planning, Design, and Administration

第3章 数据库的规划. 设计与管理

3-1 信息系统生命周期的概念

3-2 The Database Application Life cycle 数据库应用程序的生命周期

3-2. 1 Database planning

3-2. 2 System Definition 系统定义

3-2. 3 Requirements Collection and Analysis

3-2. 4 Database Design 数据库设计

3-2. 5 DBMS Selection 选择数据库管理系统

3-2. 6 Application Design 设计应用程序

3-2. 7 Prototyping

3-2. 8 Implementation

3-2. 9 数据转换和加载

3-2. 10 测试与操作维护

3-3 数据库设计的概念

3-3. 1 Conceptual Database Design 概念层数据库设计

3-3. 2 Logicai Database Design 逻辑数据库设计

3-3. 3 Physical Database Design 物理数据库设计

3-4 CASETools 计算机辅助软件工程的工具

3-5 Data Administrator and Darabase Administrator 数据管理员与数据库管理员

3-6 DBMS Selection

3-7 习题

Chapter 4 The Relational Model

第4章 关系数据模型

4-1 Relational Model的简史

4-2 Terminology 术语

4-2. 1 Relational Data Structare

4-2. 2 Mathematical Relations

4-2. 3 Database Relations

4-2. 4 Propenies of Relations

4-2. 5 Relation Keys

4-2. 6 Representing Relational Database Schemes 关系数据库结构的表示

4-3 Relational Data Manipulation Languages 关系型数据维护语言

4-4 Relational Integrity Constraints 完整性限制

4-4. 1 Nulls

4-4. 2 Entity Integrity

4-4. 3 Referential Integrity

4-4. 4 Enterprise Constraints

4-5 Views

4-6 Relational DBMS with Object-Like Extensions 在RDBMS内支持Objects

4-7 Normalization

4-7. 1 What is normalization

4-7. 2 Data Redundancy and Update Anomalies

4-7. 3 Furictional Dependency

4-7. 4 Unnormalized Relations

4-7. 5 Normalized Relatioas:First Normal Form 1NF

4-7. 6 Secoad Nornlal Form 2NF

4-7. 7 Third Normal Form 3NF

4-7. 8 Boyce-Codd Normal Form BCNF

4-7. 9 Review of Normalization 1NF to BCNF

4-7. 10 Fourth Normal Form 4NF

4-7. 11 Other Normal Form 其他的正规格式

4-8 Summary 小结

4-9 习题

Chapter 5 Creating and Implementing Database

第5章 建立并操作数据库

5-1 Introduction to SQL

5-2 Language Components

5-3 Database in SQL Server

5-4 Creating a Database

5-5 Gathering Database Information 取得数据库的信息

5-6 Setting Database Options 数据库选项设置

5-7 Resizing Your Database 复位数据库的大小

5-8 Renaming a Database 数据库重命名

5-9 Working with Database Filegroups

5-10 Removing a Database 删除数据库

5-11 Summary 小结

5-12 习题

Chapter6 SQL Server Login与安全性

第6章 SQL Server Login与安全性

6-1 SQL Server Security Access Model 安全性存取模式

6-1. 1 Windows NT Authentication

6-1. 2 SQL Server Login Authentication SQL Server登录认证

6-1. 3 SQL Server Database Username

6-1. 4 Permissions 许可权

6-2 SQLServer的安全性模式

6-2. 1 Mixed Mode Security 混合型模式安全性

6-2. 2 Windows NT Integrated Mode

6-2. 3 Setting the Security Mode 设置安全模式

6-2. 4 图形化管理的Logins

6-3 Database Users 数据库用户

6-3. 1 新增用户到Database

6-3. 2 TheGuest Usemame

6-3. 3 变更Database Owner

6-4 Roles 角色

6-4. 1 The Public Role

6-4. 2 Server-Wide Roles

6-4. 3 Assigning a login to a Server Role

6-4. 4 Database Roles

6-5 Application Role 应用程序角色

6-6 Summary 小结

6-7 习题

Chapter7 Working with Permission

第7章 存取权限

7-1 为什么使用Permissions

7-2 Implementing Database Permissions

7-2. 1 Types of Permissions 存取权的类型

7-2. 2 Permissions Precedence 存取权的优先级

7-3 SQL Server的特殊存取权

7-3. 1 Fixed Server Role Permissions 固定式服务器角色存取权

7-3. 2 Fixed Database Roles 固定式数据库角色

7-3. 3 The Database Owner DBO, 数据库用户

7-3. 4 Database Object Owner DBOO Permissions 数据库对象用户存取权限

7-3. 5 User Permissions 用户存取权限

7-3. 6 The Public Role

7-4 Statement Permissions 语句存取权限

7-5 Object Permissions 对象存取权限

7-6 Permissions on Views and Stored Procedures

7-6. 1 Permissions on Views

7-6. 2 Permissions on Stored Procedures

7-7 Ownership Chains

7-8 制定存取权限的策略

Chapter 8 Creating and Implementing Tables

第8章 建立并操作数据表格

8-1 Tables

8-2 Columns

8-3 SQL Server Idemifiers

8-4 Data Types

8-5 Compmed columns

8-6 Create Tables

8-6. 1 Create Table

8-6. 2 Select Into Statement

8-7 建立临时性Table

8-8 Dropping Tables

8-9 Modifyiag Tables

Chapter 9 Data Manipulation I:Retrieval Operations

第9章 数据操作处理 一 :读取运算

9-1 Entering&using Interactive SQL ISQL 进入及使用交互式结构化查询语言

9-2 Using the Sample Database 使用范例数据库

9-3 The SELECT Statement

9-3. 1 SELECT Slause

9-3. 2 Specifying Tables:the FROM Clause 指定表格:FROM子句

9-3. 3 Selecting Rows:the WHERE Clause 选择行:WHERE子句

9-4 Manipulating Data

9-5 System Functions

9-6 Data Conversion

9-7 Summarizing Query Resultsusing Aggregate Functions 使用总和函数来总结查询结果

9-8 Organizing Query Resultsinto Groups:The Groupbyclause 将查询结果组成组:groupby子句

9-8. 1 Groupby与Where Clause

9-8. 2 Selecting Groups of Data:the Having Clause 选择数据组:Having子句

9-8. 3 Sorting Query Results:the Order Byclause 排序查询结果:Order By子句

9-8. 4 Summarizing Groups of Data:the Compme By Clause 总结数据组:Compme By子句

9-8. 5 Grandvalue:Compme Without By 全部的总值:没有By的compute

9-8. 6 Combining Queries:the Union Operator 组合查询:Union运算符

9-8. 7 Super Aggregates ROLLUP and CUBE

9-9 Advanced Queries:retrieving data from multiple tables 高级查询:从几个tables中读取数据

9-9. 1 Relational model&Joins

9-9. 2 Which Tables to be Joined 哪些tables要被连接

9-9. 3 Equijioins and Natural Joins 相等连接与自然连接

9-9. 4 Join Query with Additional Conditions 附带条件的连接

9-9. 5 Joins not based on Equality 不基于相等条件的连接

9-9. 6 Self-Joins and Aliases 自身连接与别名

9-9. 7 Not-Equal Join 不相等连接

9-9. 8 Joining More than Two Tables 连接两个以上的tableS

9-9. 9 Outer Joins

9-9. 10 Subqueries:Using Queries with in Other Queries 子查询, 在其他查询内使用查询

9-9. 11 Subqueries used with [not]in

9-9. 12 Subqueries Used with Comparison Operator 使用比较运算符的子查询语句

9-9. 13 Using Correlated Subqueries 使用相互关系子查询

9-9. 14 Subqueries Used with exists 使用EXISTS的子查询

9-10 习题

Chapter 10 Data Manipulation II:Data Modification

第10章 数据操作处理 二 :数据的修改

10-1 The Choices of Modify Data 修改数据的选择性

10-2 Transaction Logging

10-3 Inserting

10-3. 1 Using the INSERT VALUES Statement

10-3. 2 Default Values

10-3. 3 Inserting Data Using SELECT

10-3. 4 Inserting Data Using Stored Procedures

10-4 Deleting

10-4. 1 Delete Using a Lookup Table

10-4. 2 TRUNCATE TABLE:Deleting All Rows Froma Table 删除table中所有的行:TRUNCATE语句

10-5 Updating 更新已存在的数据:UPDATE指令

10-6 Reading and Writing Text and Image:READTEXT&WRITETEXT 读与写Text和Image数据

10-7 习题

Chapter 11 Control Flow Statements

第11章 流程控制语句

11-1 Using Batches 使用批处理

11-2 Local and Global Variable 局部与整体变量

11-3 Control-of-flow statements 流程控制语句

11-4 Summary 小结

Chapter 12 Enhancing Performance with Indexing

第12章 使用索引来强化查询效率

12-1 Why Use Indexes

12-1. 1 Index Structures 索引结构

12-1. 2 Index Options

12-2 SQL Server Indexes

12-3 Index Usage

12-4 Index Maintenance

12-5 SQL Server Enterprise Manager

12-6 Index Selection 索引的选择

12-7 Full-Text Indexing 全文索引

12-8 习题

Chapter 13 Working with Views

第13章 视图

13-1 Views

13-2 Creating Views in Transact-SQL

13-2. 1 TheCREATE VIEW Clause

13-2. 2 The SELECT Statement

13-2. 3 Types of Views

13-3 Altering View

13-4 Dropping View 删除视图

13-5 Creating Views Using the Entelprise Manager

13-6 Retrieving Datathrough Views 通过视图存取数据

13-7 Data Modification through Views

13-8 Information on View 关于Views的信息

13-9 Benefits of Views

13-10 Q&A

13-11 习题

Chapter 14 Stored Procedures

第14章 预储程序

14-1 What is Stored Procedure 什么是预储程序

14-2 Creating Stored Procedures

14-3 Gathering Information on Stored Procedures 关于程序的信息

14-4 Stored Procedure的变更和删除

14-5 Creatinga Group of Procedures

14-6 Using the WITH RECOMPILE Option

14-6. 1 WITH RECOMPILE Used in the CREATE PROCEDURE Statement

14-6. 2 WITH RECOMPILE Used in the EXEC PROCEDURE Statement

14-7 Using the WITH ENCRYPTION Option

14-8 Stored Procedures Talk Back:Return Status and Parameters

14-9 Using Remote Stored Procedures

14-10 Qualifying Names Inside Stored Procedures 预储程序内的限定识别名

14-11 Renaming Procedures 重新命名程序

14-12 Dropping Procedure 删除程序

14-13 自动重新编译

14-14 Benefits of Stored Procedure 预储程序的优点

14-15 System procedlire

14-16 Summary 小结

14-17 习题

Chapter 15 Cursor

第15章 Cursor

15-1 What is Cursor

15-2 CUent Cursor与Server Cursor之间的不同

15-3 How SQL Server Processes Cursors SQL Server如何处理cursors

15-4 Some Examples of Using a Cursor 使用cursor的实例

Chapter 16 Integrity

第16章 完整性

16-1 How to Enforce Data Integrity 如何强化数据完整性

16-2 Types of Integrity

16-3 Primary Keys

16-4 Foreigl Keys

16-5 Kinds of integrity 完整性的种类

16-6 Application Versus DBMS-Enforced Integrity 应用程序或数据库管理系统强化完整性

16-7 Traditional Methods of Integrity 传统方法的完整性

16-7. 1 Nulls

16-7. 2 Uset-defined Data Types

16-7. 3 Defaults 默认值

16-7. 4 Rules 规则

16-8 ANSI Constraints和Declarative Integrity Mechanisms

16-9 SQL Server Enterprise Manager

16-10 Q&A

16-11 Quiz

Chapter 17 Trigger

第17章 触发程序

17-1 Multiple Column Integrity 多重字段的完整性

17-2 What is Triggers

17-3 Create Triggers

17-4 Droptrigger 删除触发程序

17-5 Enforcing Data Integrity 强制数据完整性

17-6 Encapsulating Business Rules 封装商业规则

17-7 Enforcing Referential Integrity

17-8 How Triggers Work 触发程序如何运行

17-9 Examples of Triggers 触发程序的范例

17-10 Nested Trigger

17-11 使用e-mail的triggers

17-12 Information on Triggers 关于triggers的信息

17-13 Q&A

17-14 Quiz

17-15 习题

附录A The Tables of Sample Database Pubs

附录B 习题参考答案