Home   FAQs   New Arrivals   Specials   Pricing & Shipping   Location   Corporate Services   Why Choose Bookware?  
 Search:   
Call our store: 9955 5567 (from within Sydney) or 1800 734 567 (from outside Sydney)
 View Cart   Check Out   
 
Browse by Subject
 TAFE Accounting
 TAFE I.T./Computing
 TAFE - Other
I.T
 .NET
 Windows 8
 Adobe CS6
 Cisco
 CCNA 2012
 CCNP 2012
 Java
 VB
 ASP
 Web Design
 E-Commerce
 Project Management
 ITIL
 Macintosh
 Mobile Devices
 Linux
 Windows Server 2012
 SQL Server 2012
 SAP
Certification
 MCITP
 MCTS
Economics and Business
 Accounting
 Business Information Systems
 Economics
 Finance
 Management
 Marketing
 TAX
 Human Resources
Academic
 Law
 Nursing
 Medical
 Psychology
 Engineering

Microsoft SQL Server 2005 Unleashed

by: Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein

Notify me when in stock

On-line Price: $55.95 (includes GST)

Paperback package 1512

20%Off Retail Price

You save: $14.00

Usually ships within 3-4 business days. We will advise you if a delay or price change is expected.

Retail Price: $69.95

Publisher: SAMS,27.11.2006

Category: SQL PROGRAMMING Level:

ISBN: 0672328240
ISBN13: 9780672328244

Add to Shopping Cart

The premium reference guide to SQL Server 2005


  * Updated version of the best selling SQL Server title on the market (according to Bookscan)


  * Provides guidance to the nuts and bolts of daily administration of SQL Server.


  * Covers all new features of the long awaited SQL Server 2005.


  * Previously announced in 08/2006 Catalog



Table of Contents


Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Part I Welcome to Microsoft SQL Server

1 SQL Server 2005 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2 What's New in SQL Server 2005. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Part II SQL Server Tools and Utilities

3 SQL Server Management Studio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

4 SQL Server Command-Line Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

5 SQL Server Profiler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

Part III SQL Server Administration

6 SQL Server System and Database Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

7 Installing SQL Server 2005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

8 Upgrading to SQL Server 2005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197

9 Client Installation and Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

10 Security and User Administration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247

11 Database Backup and Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291

12 Database Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339

13 SQL Server Scheduling and Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361

14 SQL Server High Availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393

15 Replication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415

16 Database Mirroring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481

17 SQL Server Clustering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515

Part IV Database Administration

18 Creating and Managing Databases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547

19 Creating and Managing Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579

20 Creating and Managing Indexes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623

21 Implementing Data Integrity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641

22 Creating and Managing Views in SQL Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667

23 Creating and Managing Stored Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699

24 Creating and Managing User-Defined Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 799

25 Creating and Managing Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 833

26 Transaction Management and the Transaction Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . 873

27 Database Snapshots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919

28 Database Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945

Part V SQL Server Performance and Optimization

29 Indexes and Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969

30 Understanding Query Optimization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1027

31 Query Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1115

32 Locking and Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1151

33 Database Design and Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1213

34 Monitoring SQL Server Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1233

Part VI SQL Server Application Development

35 What's New for Transact-SQL in SQL Server 2005. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1273

36 SQL Server and the .NET Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1319

37 Using XML in SQL Server 2005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1377

38 SQL Server Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439

Part VII SQL Server Business Intelligence Features

39 SQL Server 2005 Analysis Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1473

40 SQL Server Integration Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1539

41 SQL Server 2005 Reporting Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1607

Bonus Chapters on the CD

42 Managing Linked and Remote Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1663

43 Configuring, Tuning, and Optimizing SQL Server Options. . . . . . . . . . . . . . . . 1693

44 Administering Very Large SQL Server Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1743

45 SQL Server Disaster Recovery Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1771

46 Transact-SQL Programming Guidelines, Tips, and Tricks . . . . . . . . . . . . . . . . . . . 1793

47 SQL Server Notification Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1841

48 SQL Server Service Broker. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1875

49 SQL Server Full-Text Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1913

Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1941



About the Authors


About the Lead Authors

Ray Rankins is owner and president of Gotham Consulting Services, Inc. (http://www.gothamconsulting.com), near Saratoga Springs, New York. Ray has been working with Sybase and Microsoft SQL Server for more than 20 years and has experience in database administration, database design, project management, application development, consulting, courseware development, and training. He has worked in a variety of industries, including financial, manufacturing, health care, retail, insurance, communications, public utilities, and state and federal government. His expertise is in database performance and tuning, query analysis, advanced SQL programming and stored procedure development, database design, data architecture, and database application design and development. Ray's presentations on these topics at user group conferences have been very well received. Ray is coauthor of Microsoft SQL Server 2000 Unleashed (first and second editions), Microsoft SQL Server 6.5 Unleashed (all editions), Sybase SQL Server 11 Unleashed, and Sybase SQL Server 11 DBA Survival Guide, second edition, all published by Sams Publishing. He has also authored a number of articles, white papers, and database-related courses. As an instructor, Ray regularly teaches classes on SQL, advanced SQL programming and optimization, database design, database administration, and database performance and tuning. Ray's ability to bring his real-world experience into the classroom consistently rates very high marks from students in his classes for both his instructional skills and courseware. Ray can be reached at rrankins@gothamconsulting.com.

Paul Bertucci is the founder of Database Architechs (http://www.dbarchitechs.com), a database consulting firm with offices in the United States and Paris, France. He has more than 26 years of experience with database design, data architecture, data replication, performance and tuning, distributed data systems, data integration, high-availability assessments, and systems integration for numerous Fortune 500 companies, including Intel, 3COM, Coca- Cola, Apple, Toshiba, Lockheed, Wells Fargo, Safeway, Texaco, Charles Schwab, Cisco Systems, Sybase, Symantec, Veritas, and Honda, to name a few. He has authored numerous articles, standards, and high-profile courses, such as Sybase's 'Performance and Tuning' and 'Physical Database Design' courses. Other Sams Publishing books that he has authored include the highly popular Microsoft SQL Server 2000 Unleashed, ADO.NET in 24 Hours, and Microsoft SQL Server High Availability. He has deployed numerous systems with Microsoft SQL Server, Sybase, DB2, and Oracle database engines, and he has designed/architected several commercially available tools in the database, data modeling, performance and tuning, data integration, and multidimensional planning spaces. Paul's current working arrangement is as Symantec Corporations Chief Data Architect, and he also serves part time as chief technical advisor for a data integration server software company. Paul received his formal education in computer science and electrical engineering from UC Berkeley (Go Bears!). He lives in the great Pacific northwest (Oregon) with his wife, Vilay, and five children, Donny, Juliana, Paul Jr., Marissa, and Nina. Paul can be reached at pbertucci@DBArchitechs.com or Bertucci@Alum.CalBerkeley.Org.

Chris Gallelli is president of CGAL Consulting Services, Inc. His company focuses on consulting services in the areas of database administration, database tuning, and database programming using Visual Basic .NET. Chris has more than 10 years of experience with SQL Server and more than 20 years in the field of Information Technology. He has a Bachelor's degree in Electrical Engineering and a Masters in Business Administration from Union College. Chris was also one of the authors of Microsoft SQL Server 2000 Unleashed published by Sams Publishing. Chris currently lives near Albany, New York, with his lovely wife, Laura, and two daughters, Rachael and Kayla. You can contact Chris at CGallelli@gmail.com.

Alex T. Silverstein is managing principal and chief architect of the Unified Digital Group, LLC, a consulting and custom software development firm headquartered near Saratoga Springs, New York. He specializes in designing SQL Server and Microsoft .NET-powered solutions using the principles of Agile development and the Rational Unified Process. Alex has more than a decade of experience providing application development, database administration, and training services worldwide to a variety of industries. He was also a contributing author for Microsoft SQL Server 2000 Unleashed published by Sams Publishing. You can reach Alex anytimeat alex@unifieddigital.com.
About the Contributing Authors

Tudor Trufinescu joined Microsoft in January 1999, and has since worked on a number of projects and technologies, including Microsoft Metadata services, HTTP-DAV, and SQL Server Reporting Services. He was one of the founding members of the SQL Server reporting services team. His team designed and built the server components of Reporting Services and the report controls included in Visual Studio 2005. Before joining Microsoft, Tudor helped build a number of software solutions, including a workflow and document management application and a real-time production monitoring system. Tudor received his degree in Electronic Engineering and Information Technology from the University of Bucharest, Romania, in 1992. Tudor and his family currently live in Redmond, Washington.