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

Automation Via Stored Procedures: Backup, Copy, and Restore (Video Series)

Video Image Video Category: Automating SQL Server: SQL Server Agent, Jobs, Email, Alerts and Scheduling

Skill Level: 300 (Intermediate)

Versions/Editions Covered: SQL Server - All Versions
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

 

Videos in this Series:


Miscellaneous Bits & Pieces:
Performance Tip: In many instances temporary tables can be rewritten as table variables. Table variables are often faster and do not have the locking issues that temporary tables experience
Helpful Keyboard Shortcuts: "Windows key" + "U" brings up the Utility Manager which allows you to magnify the screen and work with voice prompts
Helpful Keyboard Shortcuts: "Windows key" + "M" + "Shift" restores all minimized windows

Other Websites We Offer
LearnCSharp.com
Don't Forget!
100% Money Back Guarantee
 
   
 
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!
 
8/28/2008 3:06:47 AM