17.06.2013 Views

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

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

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 19: Playing Administrator<br />

Think about administration issues as you’re doing your design and especially in your deployment plan.<br />

If you plan ahead to simplify the administration of your system, you’ll find that your system is much<br />

more successful; that usually translates into rewards for the developer (that is, you!).<br />

Exercises<br />

1. Take the command that we made to reorganize our Production.TransactionHistory<br />

table, and schedule it to run as a weekend job Sunday mornings at 2AM.<br />

2. Perform a full backup of the AdventureWorks<strong>2008</strong> database. Save the backup to<br />

C:\MyBackup.bak (or alter slightly if you don’t have enough disk space on that volume).<br />

3. Restore the backup you created in Exercise 2 to a new database name — NewAdventures.<br />

585

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

Saved successfully!

Ooh no, something went wrong!