Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 644 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
644
Dung lượng
10,61 MB
Nội dung
[...]... 199 199 20 1 20 2 20 3 20 9 21 1 21 9 22 1 22 6 22 8 23 1 Contents Getting Ready for Use Summary For More Information Chapter 9: T -SQL Language and Enhancements An In-Depth Look at T -SQL Structured Exception Handling OUTPUT Top X Common Table Expressions PIVOT UNPIVOT Ranking Summary For More Information 23 3 23 3 23 4 23 5 23 8 24 0 24 9 25 0 25 2 25 4 25 6 25 6 26 4 26 4 Chapter 10: ADO. NETProgramming with SQLServer from... Management Building a SQL Connection with the SqlConnectionStringBuilder Class 27 8 27 9 28 0 28 1 SQLServer Types (SqlTypes) 28 3 Structures Using SqlTypes Using SqlDbType Bulk Copy with SQLServer Provider Statistics SqlCacheDependency 28 4 28 7 29 0 29 1 29 2 29 3 xix Contents SqlCacheDependencyAdmin SqlDependency Summary For More Information Chapter 11: SQLServer 20 05 Server- Side Programming Extended Stored... Client Application 26 5 SQLServerand ADO. NET Asynchronous Commands in ADO. NET BeginExecuteNonQuery BeginExecuteReader BeginExecuteXMLReader Asynchronous Operations in ASP .NET IAsyncResult Final Words of Warning with Asynchronous Operations 26 5 26 6 26 7 26 9 27 1 27 2 27 5 27 6 Multiple Active Result Sets 27 6 What Is MARS Useful For? Technical Issues with MARS 27 7 27 7 Enumerating SQL Servers Connection Pooling... (Part 2) A Brief Primer on Report Definition Language Using the Reporting Service Server Building Report Models, or How to Slough Some of the Work off on the Biz Guys! Summary For More Information Chapter 16: ADO. NET2and Open-Source Databases 405 405 405 406 4 12 4 12 418 418 419 422 422 422 425 426 426 427 428 428 428 430 4 32 4 32 436 438 460 464 465 465 Open Source and Licensing Databases 465 466 MySQL. .. are very tightly related Many of the new features in ADO. NET2. 0 are designed to be used with Microsoft SQLServer 20 05, and many of the new features found in SQL 20 05 require ADO. NET2. 0 to get the most benefit from them It wouldn’t be practical to speak strictly about ADO. NET without providing some basic working knowledge about what’s new in SQL 20 05 Most people will likely move to both technologies... XmlReader Enhancements Designer Enhancements XML Designer XSL Debugging XSD Enhancements Security XPathDocument 120 120 120 121 121 122 123 124 124 124 125 126 127 128 Editing Validation Change Notification 128 131 133 XSLT Improvements Performance Where XML Is Heading 134 134 135 XPath 2. 0 XSLT 2. 0 and XQuery XML Views ObjectSpaces 135 135 136 136 Summary For More Information 137 137 Chapter 6: Transactions... (FLOAT (24 )) and FLOAT (FLOAT and DOUBLE PRECISION) NUMERIC and DECIMAL (DEC and DEC(p,s)) MONEY and SMALLMONEY BINARY, VARBINARY, IMAGE, and VARBINARY(MAX) (BINARY VARYING) Using BINARY to Store Flags BIT TIMESTAMP SQL_ VARIANT UNIQUEIDENTIFIER XML TABLE and CURSOR Data Types in ADO. NETandNET SqlTypes Other Alternatives Mapping SQLServer Data Types to NET Summary For More Information Chapter 5: ADO. NET. .. Firebird Ingres PostgreSQL BerkeleyDB SQLite 466 477 485 4 92 497 5 02 508 Summary For More Information xxii 5 12 513 Contents Chapter 17: Oracleand ADO. NET 515 Choosing an Oracle Data Provider 515 Common Provider Classes Microsoft Oracle Provider Oracle Data Provider for NET (ODP NET) Oracle Developer Tools for Visual Studio NET Common Oracle Errors Using Tracing to Find Problems Understanding Packages Regular... ODBC OLE-DB Data Access Consumers DAO RDO ADOADO .NET ADO. NET2. 0 Summary For More Information Chapter 2: Standardized Database Objects and Design xi xiii xxv xxv xxv xxvi xxvi xxvii 1 22 3 3 4 4 5 6 6 7 8 10 11 12 12 13 Creating Databases Naming Conventions 13 15 Tables Stored Procedures 15 17 Primary Keys Foreign Keys Indexes 19 20 22 Contents Views Help with Normalization Enforcing Security Creating... features of ADO. NET2. 0, prior knowledge of ADO. NET 1.0, general NET development, and Microsoft SQLServer is assumed In order to completely use the information in this book, you will need a copy of Visual Studio 20 05 and Microsoft SQLServer 20 05 Introduction How to Use This Book To provide consistency throughout the book and help you quickly identify important pieces of information, several standards have . ffirs.qxd 10 /28 /05 10:49 PM Page iii
Professional ADO. NET 2
Programming with SQL Server 20 05,
Oracle , and MySQL
01_584375 ffirs.qxd 10 /28 /05 10:49 PM. Page i
01_584375 ffirs.qxd 10 /28 /05 10:49 PM Page ii
Professional ADO. NET 2
Programming with SQL Server 20 05,
Oracle , and MySQL
Wallace B. McClure
Gregory