Member of the LearnItFirst.com Video Training Network Related Video Training Sites: · SSIS Training Videos · SQL Programming Tutorials
   
SQL Server
                        Training Videos

SQL Server Tutorial: Part 4- Writing the Stored Procedure to Restore a Database

   Chapter: Automating SQL Server: SQL Server Agent, Jobs, Email, Alerts and Scheduling
Download! Skill Level: 200 (Beginner - Intermediate)
Duration: 11:45
Size: 0.0MB
Versions/Editions Covered: SQL Server - All Versions
Added/Updated: Jun 25, 2008

Download this video
After you complete your stored procedure to backup a databse, you can then create a stored procedure to restore a database from those backups. With a stored procedure like this, you will have several credentials to first set. In this fourth video in the series Scott will cover those parameters and demonstrate the exact way to create this awesome stored procedure.

Highlights from this video:
  • Required parameters for restoring a database
  • Creating a base restore database command
    • Why does the command fail?
  • Obtaining the logical file names
and much more
Tags for this video: database file procedure restore stored  
< Back Download this video
AddThis Social Bookmark Button
People Who Downloaded this Video Also Downloaded:
TitleSkillDownload
Part 1 - An Overview of the Default SQL Server Installation 100 Download
Part 2 - My How Things Have Changed - A Video Walk-Through of Some of the New To... 200 Download
Pt. 1 - Introduction to Stored Procedure Concepts and Common Usage 200 Download
Performance Tuning Query Tips That Everyone Should Know - Using DBCC and SET Com... 300 Download
Creating Database Diagrams in SQL Server Management Studio 200 Download
This video is part of the following video series: "Automation Via Stored Procedures: Backup, Copy, and Restore"
As a database administrator, you often have to copy a database, restore a database, or backup a database. These monotonous tasks, however, can basically be done for you via automation with stored procedures by simply passing a few parameters. In this video series your instructor Scott will not only show you how to create these stored procedures, but he will also talk about the things that are used in creating the stored procedures that will do backups, copy a database, and/or restore a database. In this first video in the series, Scott will walk you through the process of creating a stored procedure that will backup a database, a very essential maintenance task.

Highlights from this video series:

  • Building a backup database stored procedure from scratch
    • Requirements
  • The problem with the default of appending backup files
    • How to overwrite existing backup files
  • Various date formats for generate a filename
  • Setting a TimeString and CONVERT process
  •  Setting the path for the backup file
  • Obtaining the logical file names
  • Required parameters for the copy database stored procedure
  • Demo of backup/restore/copy procedures

 

To view all videos in this series, click here

About the Instructor:

Scott Whigham Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive video training libraries focusing on technical training. Scott is also an experienced consultant, trainer, and author with more than a decade of hands-on experience working with SQL Server databases, writing and debugging applications using Visual Studio, and performance tuning. Scott designed the architecture (websites, class libraries, and database) for the LearnItFirst.com websites and, most re... (Scott Whigham's full bio can be found on the About the Author page)

   
 
About Us Video Playback Subscriptions More Video Training More
 
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation. Refer a Friend and Get a Free Subscription!
 
11/21/2008 12:26:54 AM