scheduling a t-sql stored procedures name in table column without creating a job for each one??
- From: "jobs" <jobs@xxxxxxxxxx>
- Date: 17 Jan 2007 13:20:40 -0800
I have an ssis script task written in vb.net that will connect to a sql
server database via ado.net and can execute sql commands.
A control table will hold a list of stored procedures and an action
column that will indicate an sp is ready to run.
what sql command can I use to schedule and track a stored procedure?
Ideally, I only want to create a single job or function to manage all
the stored procedures.
The asp.net pages will come right back, as there only db related
function will be to set the flag. The scheduled ssis script task
package will handle lauchning the stored procedure and recording its
job number and will also continue letting the sp run as it's own job.
Whats the best way to accomplish this? A job that runs a variable sp?
possible? How?
In Oracle (from ado.net), I'm able to do this via a call to a function
that calls DBMS_JOB.SUBMIT and returns a job number. Tables like
all_jobs return information of the job for tracking the job. What's
comparable in sql server 2005?
.
- Follow-Ups:
- Prev by Date: Re: Global Variables in Logging tab
- Next by Date: Re: scheduling a t-sql stored procedures name in table column without creating a job for each one??
- Previous by thread: RE: DTS 2000 package error when connecting to SQL Server 2005
- Next by thread: Re: scheduling a t-sql stored procedures name in table column without creating a job for each one??
- Index(es):
Relevant Pages
|