Solved

Using external scheduler to perform backups

Posted on 1998-08-14
2
192 Views
Last Modified: 2010-03-19
I know that the backup scripts can be used/saved as stored procedure and executed through ISQL.  What kind of script do I need login to the database, enter user and password and perform the stored procedure.
0
Comment
Question by:Marvman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
spiridonov earned 20 total points
ID: 1089557
USe the following
isql /Sserver_name  /Ulogin_name  /Ppassword /ddatabase_name /Q"EXECUTE procedure_name"

This will start isql . log into the sever server_name with login login_name and password password , go to database database_name and execute stored procedure procedure_name.
0
 

Author Comment

by:Marvman
ID: 1089558
Yes the script does work
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question