This book is really not too bad to help someone learn about SQL Server 7. The only criticism I have is that the chapters seem to be out of order. The first week of this 3 week book is made up of security concepts like logins and permissions. I would hope that someone learning SQL Server would first
Sams Teach Yourself Microsoft SQL Server 2000 in 21 Days
โ Scribed by Richard Waymire, Rick Sawtell
- Publisher
- Sams
- Year
- 2002
- Tongue
- English
- Leaves
- 947
- Series
- Teach Yourself... in 21 Days
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Sams Teach Yourself Microsoft SQL Server 2000 in 21 Days, 2E will clearly define and walk the reader through the features of SQL Server 2000. The reader will be given tips and tricks for working within the new SQL Server 2000 product environment as well as working with SQL Server databases. The book will feature information on: Create and alter databases. Manage security and implement permissions. Protect, backup, and restore data. Enforce and ensure data integrity. Modify and manipulate data. Create views, triggers, functions, and stored procedures.
โฆ Table of Contents
Sams Teach Yourself SQL Serverโข 2000 Microsoftยฎ in 21Days SECOND EDITION......Page 4
Copyright......Page 5
Contents at a Glance......Page 6
Contents......Page 8
Acknowledgments......Page 26
About the Authors......Page 27
Tell Us What You Think!......Page 28
Introduction......Page 30
At a Glance WEEK 1......Page 36
SQL Server Is Hot!......Page 38
The History of SQL Server......Page 39
What Is a Database?......Page 41
Designing Relational Databases......Page 43
SQL Server and the Client/Server Model......Page 47
Q&A......Page 48
Workshop......Page 49
What Kinds of SQL Servers Are Available?......Page 52
SQL Server Requirements......Page 54
Installing SQL Server 2000......Page 58
Installing Other SQL Server Optional Components......Page 78
Postinstallation: What Did You Get?......Page 79
Named Versus Default Instances......Page 84
Upgrading from a Previous Version of SQL Server......Page 86
Troubleshooting Your Installation......Page 87
Removing SQL Server......Page 88
Apply the Latest Service Pack......Page 89
Summary......Page 91
Workshop......Page 92
DAY 3 Working with SQL Server 2000 Management Tools and Utilities......Page 94
The Microsoft SQL Server Program Group......Page 95
The Microsoft SQL ServerโSwitch Program Group......Page 126
Other SQL Server Tools/Utilities......Page 127
Summary......Page 138
Workshop......Page 139
DAY 4 Creating and Administering Databases and Data Files......Page 142
Creating a Database......Page 143
Gathering Database Information......Page 150
Setting Database Options......Page 151
Resizing Your Database......Page 156
Renaming a Database......Page 164
Working with Database Filegroups......Page 165
Removing a Database......Page 169
Summary......Page 171
Q&A......Page 172
Workshop......Page 173
DAY 5 Setting Up Login and User Security......Page 176
The SQL Server Security Access Model......Page 177
The Security Modes of SQL Server (Including Logins)......Page 180
Database Users......Page 196
Roles......Page 202
Application Roles......Page 209
Q&A......Page 212
Workshop......Page 213
DAY 6 Establishing Database Permissions......Page 214
Implementing Database Permissions......Page 215
SQL Serverโs Special Permissions......Page 217
Statement Permissions......Page 228
Object Permissions......Page 233
Permissions on Views, Stored Procedures, and Functions......Page 240
Ownership Chains......Page 242
Designing a Permissions Strategy......Page 244
Summary......Page 247
Workshop......Page 248
DAY 7 Backing Up Your Databases......Page 250
Protecting Data with Mirroring, Duplexing, and Striping......Page 251
How Backup Works......Page 255
Backup Terminology......Page 258
Backup Considerations......Page 259
Backing Up User Databases......Page 263
Backing Up System Databases......Page 266
Preparing to Implement Backups......Page 267
Backing Up a Database......Page 276
Summary......Page 288
Workshop......Page 289
In Review WEEK 1......Page 292
At a Glance WEEK 2......Page 294
DAY 8 Restoring Your Databases......Page 296
Restoring Databases......Page 297
Recovery Scenarios......Page 319
Summary......Page 324
Workshop......Page 325
DAY 9 Data Types and Creating Tables......Page 328
Columns......Page 329
SQL Server Identifiers......Page 330
Strings......Page 333
Integers......Page 334
Approximate and Exact Numeric Data Types......Page 335
Special Data Types......Page 337
Date and Time Data Types......Page 341
Money......Page 343
Working with ANSI and Unicode......Page 344
Creating User-Defined Data Types......Page 346
Working with Computed Columns......Page 347
Creating Tables......Page 348
Q&A......Page 352
Workshop......Page 353
DAY 10 Retrieving Data with the SELECT Statement......Page 356
Writing Simple SELECT Statements......Page 357
Manipulating Data......Page 361
System Functions......Page 368
Data Conversion......Page 369
Choosing Rows......Page 371
Eliminating Duplicate Information......Page 378
Sorting Data Using the ORDER BY Clause......Page 380
Midday Review......Page 381
Aggregate Functions......Page 382
Super Aggregates (ROLLUP and CUBE)......Page 387
Data Correlation......Page 389
Working with Subqueries......Page 396
SELECT INTO......Page 399
UNION Operator......Page 401
Summary......Page 402
Q&A......Page 403
Workshop......Page 404
Transaction Logging......Page 406
Inserting Data......Page 408
Deleting Data......Page 415
Updating Data......Page 418
Workshop......Page 421
DAY 12 Using Transact-SQL Extensions......Page 424
Batches......Page 425
Transactions......Page 426
Control-of-Flow Language Elements......Page 439
Locking......Page 447
Lock Types......Page 448
Q&A......Page 457
Workshop......Page 458
DAY 13 Indexing for Performance......Page 460
Why Use Indexes?......Page 461
SQL Server Indexes......Page 467
Index Usage......Page 473
Index Maintenance......Page 481
Managing Indexes with SQL Server Enterprise Manager......Page 491
Index Selection......Page 494
Full-Text Indexing......Page 497
Q&A......Page 500
Workshop......Page 501
How to Enforce Data Integrity......Page 502
Types of Integrity......Page 503
Traditional Methods of Integrity......Page 504
Ensuring Data Accuracy with ANSI Constraints and Declarative Integrity Mechanisms......Page 516
Ensuring Data Accuracy with SQL Server Enterprise Manager......Page 530
Summary......Page 537
Workshop......Page 538
In Review WEEK 2......Page 540
At a Glance WEEK 3......Page 542
DAY 15 Creating Views, Triggers, Stored Procedures, and Functions......Page 544
Creating and Manipulating Views......Page 545
Working with Stored Procedures......Page 553
Working with Triggers......Page 563
Working with User-Defined Functions......Page 571
Q&A......Page 576
Workshop......Page 577
DAY 16 Understanding Replication Design Methodologies......Page 580
Distributed Data Factors......Page 581
Distribution Methodologies......Page 582
The Publisher/Subscriber Metaphor......Page 590
How Does Replication Work?......Page 594
Replication Scenarios......Page 601
Publishing SQL Server 2000 Databases to the Internet......Page 606
Best Practices......Page 607
Replicating Issues in a Heterogeneous Environment......Page 608
Summary......Page 609
Q&A......Page 610
Workshop......Page 611
DAY 17 Implementing Replication Methodologies......Page 614
Understanding Security Issues......Page 616
Installing Replication......Page 617
Replication Considerations......Page 636
Maintaining Replication......Page 638
Summary......Page 652
Q&A......Page 653
Workshop......Page 654
DAY 18 Scheduling Jobs with SQL Server Agent......Page 656
Which Scheduling Tool Should You Use?......Page 657
SQLMail Integration......Page 664
Sending Email from SQL Server......Page 670
Scheduling Jobs......Page 672
Setting Up Alerts and Operators......Page 679
Taking Advantage of Performance Monitor Integration......Page 684
Using the Database Maintenance Plan Wizard......Page 685
Summary......Page 689
Workshop......Page 690
DAY 19 Migrating Data Between Database Servers......Page 692
Moving Data with a Backup and Restore......Page 693
Using BCP to Load Data......Page 694
Working with the BULK INSERT Command......Page 705
Working with Data Transformation Services......Page 706
Q&A......Page 717
Workshop......Page 718
DAY 20 Performance Monitoring Basics and Tools......Page 720
Hardware Selection and Tuning......Page 721
Windows 2000 Configuration Parameters......Page 724
Windows 2000 Performance Monitor Counters......Page 725
Configuring SQL Server......Page 726
Monitoring SQL Server Performance......Page 733
The Current Activity Window of SQL Server Enterprise Manager......Page 736
The Index Tuning Wizard......Page 744
Q&A......Page 747
Workshop......Page 748
DAY 21 Using XML with SQL Server 2000......Page 750
What Is XML?......Page 751
Installing SQLXML 3.0 Service Pack 1......Page 753
Accessing SQL Server via Internet Information Server......Page 754
Reading and Writing XML in SQL Server......Page 767
New Features in SQLXML 3.0......Page 781
Q&A......Page 782
Workshop......Page 783
In Review WEEK 3......Page 784
At a Glance BONUS DAYS......Page 786
Understanding Data Warehousing......Page 788
Building a Data Warehouse......Page 791
Understanding the Components of Analysis Services......Page 793
Installing Analysis Services......Page 795
Accessing the Sample Application for Analysis Services......Page 797
Q&A......Page 799
DAY 23 An Overview of English Query......Page 802
English Query Components......Page 803
How English Query Works......Page 804
Normalization Requirements......Page 805
Creating an English Query Application......Page 806
Adding Synonyms to Your Entities......Page 809
Adding Relationships to Your Model......Page 810
Testing an English Query Application......Page 812
Summary......Page 813
Q&A......Page 814
APPENDICES......Page 816
APPENDIX A Answers to Quiz Questions......Page 818
What Is MSDE 2000?......Page 842
MSDE Licensing......Page 843
Installing MSDE 2000......Page 844
Q&A......Page 851
Microsoft Cluster Service......Page 852
Overview of High Availability......Page 853
Terminology......Page 854
Cluster Server Architecture......Page 858
Cluster Service Components......Page 859
Cluster Formation and Operation......Page 862
Log Shipping in SQL Server 2000......Page 867
Summary......Page 869
Workshop......Page 870
INDEX......Page 872
๐ SIMILAR VOLUMES
Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes offers straightforward, practical answers when you need fast results. By working through 10-minute lessons, youโll learn everything you need to know to take advantage of Microsoft SQL Serverโs T-SQL language. ย This handy pocket guide st
Written with clarity and a down-to-earth approach, Sams Teach Yourself SQL Server 2005 Express in 24 Hours covers the basics of Microsoft's latest version of SQL Server. Expert author Alison Balter takes you from basic concepts to an intermediate level in 24 one-hour lessons. You will learn all of t
<P style="MARGIN: 0px"><I>Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes</I> offers straightforward, practical answers when you need fast results. By working through 10-minute lessons, youะฒะโขll learn everything you need to know to take advantage of Microsoft SQL Serverะฒะโขs T-SQL langua