June 13, 2010 at 10:26 pm
Hi,
In my project i have a SQL server agent job which executes a SSIS package . Once the job completes successfully i want to call another SSIS job automatically. How can i do that.
June 14, 2010 at 2:11 pm
I would add a second step to the job that called the first package.
CEWII
June 15, 2010 at 2:10 am
Add a second step in your first job. There, you can use T-SQL with a stored procedure to call the other job:
USE MSDB;
GO
EXEC dbo.sp_start_job N'My other job'
GO
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 16, 2010 at 8:23 am
[font="Comic Sans MS"]
Or you can add 'execute package task' (pointing to 2ng ssis package) in the first ssis package which will run on success of the end task of first package.
[/font]
[font="Comic Sans MS"]--
Sabya[/font]
July 7, 2010 at 4:43 pm
I like the idea of kicking off a separate job using T-SQL step in the Job. This makes it easy to re-run in case of the package failure. You just need to execute the step that failed.
Thanks,
Amol Naik
July 8, 2010 at 7:03 am
These are all valid methods that I would use.
Personally have each package in seperate job steps in order, if a step fails then fail the job.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply