Solved

Call a SSIS package from a Stored Proc SQL 2005

Posted on 2011-02-11
2
368 Views
Last Modified: 2012-08-13
I have a SSIS package that is located in the Integration Services\Stored procedures\MSDB\VantageImports\

I want to be able to call a Stored Proc that will run this SSIS package.

The reason is we have Softtree 24x7 as our scheduler..(for now) and i know how to call a Stored Proc from that software but i cannot figure out how to call a SSIS package and i am to frustrated to keep trying to research.. (everyday i have to get up at 3 am to run 7 SSIS packages.. untill i can get this automated) so to make things simple ... can i just call a SP from 24x7 that will run a SSIS package please. nothing fancy the SSIS is self contained.. nothing to send to it and nothing to get back from it...
0
Comment
Question by:PSIUnit
[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 5

Expert Comment

by:robertg34
ID: 34875049
Can Softtree 24X7 call a .cmd or .bat job?  If so you can run the ssis package from there.  

0
 
LVL 15

Accepted Solution

by:
Aaron Shilo earned 500 total points
ID: 34881672
hi
this is very simple.

Create procedure My_Proc
as
begin
exec Xp_cmdshell 'dtexec /file "c:\ssis\myssispackage.dtsx" /checkpointing off /reporting E'
end


ENJOY
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

690 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