Microsoft_SQL_Server_2008_R2_Unleashed.dlebooks.com.pdf

(49084 KB) Pobierz
790437219.014.png
Ray Rankins
Paul Bertucci
Chris Gallelli
Alex T. Silverstein
Microsoft ®
SQL Server
2008 R2
UNLEASHED
800 East 96th Street, Indianapolis, Indiana 46240 USA
790437219.015.png 790437219.016.png 790437219.017.png 790437219.001.png 790437219.002.png 790437219.003.png 790437219.004.png 790437219.005.png 790437219.006.png
 
Microsoft SQL Server 2008 R2 Unleashed
Copyright © 2011 by Pearson Education, Inc.
All rights reserved. No part of this book shall be reproduced, stored in a retrieval
system, or transmitted by any means, electronic, mechanical, photocopying, recording,
or otherwise, without written permission from the publisher. No patent liability is
assumed with respect to the use of the information contained herein. Although every
precaution has been taken in the preparation of this book, the publisher and author
assume no responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein.
ISBN-13: 978-0-672-33056-8
ISBN-10: 0-672-33056-3
Library of Congress Cataloging-in-Publication Data is on file.
Publisher
Paul Boger
Editor In Chief
Karen Gettman
Acquisitions Editor
Neil Rowe
Development Editor
Mark Renfrow
Managing Editor
Sandra Schroeder
Printed in the United States of America
First Printing September 2010
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks
have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of
this information. Use of a term in this book should not be regarded as affecting the
validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possi-
ble, but no warranty or fitness is implied. The information provided is on an “as is”
basis. The author(s) and the publisher shall have neither liability nor responsibility to
any person or entity with respect to any loss or damages arising from the information
contained in this book or from the use of the CD or programs accompanying it.
Bulk Sales
Pearson offers excellent discounts on this book when ordered in quantity for bulk
purchases or special sales. For more information, please contact:
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact:
International Sales
+1-317-581-3793
international@pearsontechgroup.com
Project Editor
Seth Kerney
Copy Editor
Chuck Hutchinson
Indexer
Erika MIllen
Proofreader
Leslie Joseph
Debbie Williams
Technical Editor
Rebecca M. Riordan
J. Boyd Nolan
Publishing
Coordinator
Romney French
Multimedia Developer
Dan Scherf
Designer
Gary Adair
Compositor
Mark Shirar
790437219.007.png 790437219.008.png 790437219.009.png
Contents at a Glance
Introduction....................................................................................................1
Part I
Welcome to Microsoft SQL Server
1
SQL Server 2008 Overview..............................................................................9
2
What’s New in SQL Server 2008 ...................................................................35
3
Examples of SQL Server Implementations ...................................................51
Part II
SQL Server Tools and Utilities
4
SQL Server Management Studio ...................................................................63
5
SQL Server Command-Line Utilities ..........................................................103
6
SQL Server Profiler ......................................................................................121
Part III
SQL Server Administration
7
SQL Server System and Database Administration......................................165
8
Installing SQL Server 2008..........................................................................185
9
Upgrading to SQL Server 2008 ...................................................................227
10
Client Installation and Configuration .......................................................263
11
Security and User Administration ..............................................................291
12
Data Encryption ..........................................................................................335
13
Security and Compliance............................................................................359
14
Database Backup and Restore .....................................................................377
15
Database Mail..............................................................................................427
16
SQL Server Scheduling and Notification ....................................................449
17
Administering SQL Server 2008 with PowerShell ......................................481
18
SQL Server High Availability ......................................................................523
19
Replication ..................................................................................................545
20
Database Mirroring .....................................................................................617
21
SQL Server Clustering .................................................................................655
22
Administering Policy-Based Management..................................................687
Part IV
Database Administration
23
Creating and Managing Databases .............................................................709
24
Creating and Managing Tables ...................................................................741
25
Creating and Managing Indexes ................................................................791
26
Implementing Data Integrity......................................................................811
27
Creating and Managing Views in SQL Server ............................................837
28
Creating and Managing Stored Procedures ................................................869
790437219.010.png 790437219.011.png
iv
29
Creating and Managing User-Defined Functions. .....................................917
30
Creating and Managing Triggers . ..............................................................949
31
Transaction Management and the Transaction Log . ................................995
32
Database Snapshots. .................................................................................1043
33
Database Maintenance. ............................................................................1069
Part V
SQL Server Performance and Optimization
34
Data Structures, Indexes, and Performance . ...........................................1091
35
Understanding Query Optimization . ......................................................1209
36
Query Analysis . ........................................................................................1301
37
Locking and Performance .........................................................................1341
38
Database Design and Performance . .........................................................1403
39
Monitoring SQL Server Performance. ......................................................1427
40
Managing Workloads with the Resource Governor . ...............................1493
41
A Performance and Tuning Methodology. ..............................................1519
Chapters on the CD
Part VI
SQL Server Application Develop-
ment
42
What’s New for Transact-SQL in SQL Server 2008. .................................1551
43
Transact-SQL Programming Guidelines, Tips, and Tricks . ......................1637
44
Advanced Stored Procedure Programming and Optimization.................1733
45
SQL Server and the .NET Framework . .....................................................1787
46
SQLCLR: Developing SQL Server Objects in .NET . .................................1825
47
Using XML in SQL Server 2008 . ..............................................................1865
48
SQL Server Web Services . .........................................................................1927
49
SQL Server Service Broker . .......................................................................1959
50
SQL Server Full-Text Search . ....................................................................1997
Part VII
SQL Server Business Intelligence Features
51
SQL Server 2008 Analysis Services. ..........................................................2029
52
SQL Server Integration Services . ..............................................................2099
53
SQL Server 2008 Reporting Services . .......................................................2169
Part VIII
Bonus Chapters
54
Managing Linked and Remote Servers . ...................................................2243
55
Configuring, Tuning, and Optimizing SQL Server Options . ..................2273
56
SQL Server Disaster Recovery Planning. ..................................................2329
2353
Index
790437219.012.png 790437219.013.png
Zgłoś jeśli naruszono regulamin