September 2010
Intermediate to advanced
1704 pages
111h 8m
English
The command to restore a database in SQL Server is aptly named RESTORE. The RESTORE command is similar to the BACKUP command in that it can be used to restore a database, part of a database, or a transaction log. You restore an entire database or part of a database by using the RESTORE DATABASE syntax. You do transaction log restores by using the RESTORE TRANSACTION syntax.
Listing 14.6 shows the full syntax for RESTORE DATABASE.
Listing 14.6 RESTORE DATABASE Syntax

Once again, there are many available options for restoring a database, but a simple restore is fairly straightforward. The following ...