?
Solved

Using external scheduler to perform backups

Posted on 1998-08-14
2
Medium Priority
?
197 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 60 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Suggested Courses

752 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