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:
Book You Should Probably Own: Paul Nielsen's "Microsoft SQL Server 2000 Bible"
Keyboard Shortcut for SQL Server Management Studio: SHIFT+F10 displays the context menu
You can use the table hint "WITH (NOLOCK)" to minimize the locks you place on resources during a SELECT statement - SELECT * FROM MyTable WITH (NOLOCK) places no "Shared" locks on MyTable

Other Websites We Offer
LearnVBProgramming.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!
 
11/20/2008 8:46:18 PM