目錄
第一章 獲取你的工具
- 獲取 Visual Studio 2008
- 安裝SQL Server Management Studio Express
- 安裝Northwind示例數據庫
- 安裝 AdventureWorks示例數據庫
- 小結
第二章 認識你的工具
- Microsoft .NET框架版本和綠位和紅位組裝模式
- 使用Visual Studio 2008
- 使用Server Management Studio Express
- 小結
第三章 認識關係型數據庫
- 什麼是數據庫
- 選擇電子表格還是數據庫
- 爲什麼使用數據庫
- 使用關係型數據庫的好處
- 比較桌面系統和服務器的數據庫管理系統
- The Database Life Cycle數據庫的生命週期
- Mapping Cardinalities
- Understanding Keys理解鍵 Primary Keys主鍵 Foreign Keys外鍵
- Understanding Data Integrity理解數據完整性 Entity Integrity實體完整性 Referential Integrity參照完整性
- Normalization Concepts
正常化概念 - Drawbacks of Normalization
缺點正常化 - 小結
第四章 Writing Database Queries寫作數據庫查詢
- Comparing QBE and SQL
比較QBE和SQL - Beginning with Queries
開始查詢 - Common Table Expressions
通用表表達式 - GROUP BY Clause
GROUP BY子句 - PIVOT Operator
PIVOT操作符 - ROW_NUMBER() Function
ROW_NUMBER ( )函數 - PARTITION BY Clause
PARTITION子句 - Pattern Matching
模式匹配 - Aggregate Functions
聚合函數 - DATETIME Functions
日期時間函數 - Joins
聯結 - 小結
第五章 Manipulating Database Data操縱數據庫數據
- Retrieving Data
檢索數據 - Using SELECT INTO Statements
使用SELECT INTO指令 - Inserting Data
插入數據 - Updating Data
更新數據 - Deleting Data
刪除數據 - 小結
第六章 Using Stored Procedures使用存儲過程
- Creating Stored Procedures
創建存儲過程 - Modifying Stored Procedures
修改存儲過程 - Displaying Definitions of Stored Procedures
顯示定義的存儲過程 - Renaming Stored Procedures
重命名存儲過程 - Working with Stored Procedures in C#
在C #中使用存儲過程 - Deleting Stored Procedures
刪除存儲過程 - 小結
第七章 Using XML使用XML
- Defining XML
定義XML - Why XML?
爲什麼是XML? - Benefits of Storing Data As XML
將數據存儲爲XML的優點 - Understanding XML Documents
瞭解XML文檔 - Understanding the XML Declaration
瞭解XML聲明 - Converting Relational Data to XML
關係數據轉換爲XML - Using the xml Data Type
使用XML數據類型 - 小結
第八章 Understanding Transactions瞭解事務
- What Is a Transaction?
什麼是事務? - When to Use Transactions
何時使用事務 - Understanding ACID Properties
理解ACID性質 - Transaction Design
事務設計 - Transaction State
事務狀態 - Specifying Transaction Boundaries
具體事務邊界 - T-SQL Statements Allowed in a Transaction
在事務中可以使用的T - SQL語句 - Local Transactions in SQL Server 2005
在SQL Server 2005中的本地事務 - Distributed Transactions in SQL Server 2005
在SQL Server 2005中的分佈式事務 - Guidelines to Code Efficient Transactions
高效事務的指導方針守則 - How to Code Transactions
如何使用代碼編程事務 - 小結
第九章 Getting to Know ADO.NET結識ADO.NET
- Understanding ADO.NET
瞭解ADO.NET - The Motivation Behind ADO.NET
ADO.NET背後的動機 - Moving from ADO to ADO.NET
從ADO到ADO.NET - Understanding ADO.NET Architecture
瞭解ADO.NET架構 - Working with the SQL Server Data Provider
與SQL Server數據提供程序工作 - Working with the OLE DB Data Provider
與OLE DB數據提供程序工作 - Working with the ODBC Data Provider
與ODBC數據提供程序工作 - Data Providers Are APIs
數據供應商的API