Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

cdn.s3techtraining.com
from cdn.s3techtraining.com More from this publisher
17.06.2013 Views

Contents Chapter 19: Pla ying Administrator 563 xxx Scheduling Jobs 564 Creating an Operator 565 Creating an Operator Using Management Studio 565 Creating Jobs and Tasks 566 Creating Jobs and Tasks Using Management Studio 567 Backup and Reco very 575 Creating a Backup: a.k.a. “A Dump” 575 Backup Type 576 Backup Set 577 Destination 577 Options 577 Schedule 578 Recovery Models 578 Recovery 579 Restoring to a Different Location 580 Recovery Status 580 Index Maintenance 580 ALTER INDEX 581 Index Name 581 Table or View Name 581 REBUILD 581 DISABLE 582 REORGANIZE 582 How It Works 583 Archiving Data 583 Policy Based Management 584 Summary 584 Exercises 585 Appendix A: System Functions 587 Appendix B: V ery Simple Connectivity Examples 649 Index 657

Introduction And so the journey continues, and, as I’ve said before, what a long, strange trip it’s been. When I first wrote Professional SQL Server 7.0 Programming in early 1999, the landscape of both books and the development world was much different than it is today. At the time, .NET was as yet unheard of, and while Visual Studio 98 ruled the day as the most popular development environment, Java was coming on strong and alternative development tools, such as Delphi, were still more competitive than they typically are today. The so-called “dot com” era was booming, and the use of database management systems (DBMS), such as SQL Server, was growing exponentially. There was, however, a problem. While one could find quite a few books on SQL Server, they were all oriented toward the administrator. They spent tremendous amounts of time and energy on things that the average developer did not give a proverbial hoot about. Something had to give, and as my development editor and I pondered the needs of the world, we realized that we could not solve world hunger or arms proliferation ourselves, but we could solve the unrealized need for a new kind of SQL book — one aimed specifically at developers. At the time, I wrote Professional SQL Server 7.0 Programming to be everything to everyone. It was a compendium. It started at the beginning and progressed to a logical end. The result was a very, very large book that filled a void for a lot of people (hooray!). With SQL Server 2005, SQL Server was in its second revision since I released my first book and, as we did the planning for that round of books, we realized that we once again had a problem — the Professional title was too big to fit in a single book. The new features of SQL Server 2005 created a situation where there was simply too much content to squeeze into one book (we literally exceeded the bindery limits for a book), and so we made the choice to split the old Professional series title into a Beginning and a more targeted Professional pair of titles. A lot of work was put into the split, but, in the end, there was still a significant degree of overlap. SQL Server 2008 adds yet another stack of new features, provides me the opportunity to take the Professional title even more toward the advanced reader, and allows me to round out the Beginning title more cleanly. My hope is that, in this book, you find something that covers all of the core elements of SQL Server with the same success that we had in the original Professional SQL Server Programming titles. When we’re done, you should be set to be a highly functional SQL Server 2008 programmer and, when you need it, be ready to move on to the more advanced Professional title. Who This Book Is F or It is almost sad that the word “beginner” is in the title of this book. Don’t get me wrong; if you are a beginner, then this title is for you. But it is designed to last you well beyond your beginning days. What is covered in this book is necessary for the beginner, but there is simply too much information for you to remember all of it all the time, and so it is laid out in a fashion that should make a solid review and reference item even for the more intermediate, and, yes, even advanced user.

Contents<br />

Chapter 19: Pla ying Administrator 563<br />

xxx<br />

Scheduling Jobs 564<br />

Creating an Operator 565<br />

Creating an Operator Using Management Studio 565<br />

Creating Jobs and Tasks 566<br />

Creating Jobs and Tasks Using Management Studio 567<br />

Backup and Reco very 575<br />

Creating a Backup: a.k.a. “A Dump” 575<br />

Backup Type 576<br />

Backup Set 577<br />

Destination 577<br />

Options 577<br />

Schedule 578<br />

Recovery Models 578<br />

Recovery 579<br />

Restoring to a Different Location 580<br />

Recovery Status 580<br />

Index Maintenance 580<br />

ALTER INDEX 581<br />

Index Name 581<br />

Table or View Name 581<br />

REBUILD 581<br />

DISABLE 582<br />

REORGANIZE 582<br />

How It Works 583<br />

Archiving Data 583<br />

Policy Based Management 584<br />

Summary 584<br />

Exercises 585<br />

Appendix A: System Functions 587<br />

Appendix B: V ery Simple Connectivity Examples 649<br />

Index 657

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!