dbTalk Databases Forums  

Execute SSIS package from a sql stored procedure

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute SSIS package from a sql stored procedure in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jack
 
Posts: n/a

Default Execute SSIS package from a sql stored procedure - 04-21-2008 , 10:38 AM






How can I execute a SSIS package from a stored procedure?
Thank you.

Reply With Quote
  #2  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM






On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #3  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #4  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #5  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #6  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #7  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #8  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #9  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 04:20 AM



On Apr 21, 4:38*pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
How can I execute a SSIS package from a stored procedure?
Thank you.
Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
  #10  
Old   
Jack
 
Posts: n/a

Default Re: Execute SSIS package from a sql stored procedure - 04-22-2008 , 05:10 PM



thank you!!

"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
On Apr 21, 4:38 pm, Jack <J... (AT) discussions (DOT) microsoft.com> wrote:
How can I execute a SSIS package from a stored procedure?
Thank you.

Hi Jack,

The answer is: Kinda

AFAIK, it is not possible to run the package directly, however you can
run DTEXEC using xp_cmdshell (good luck getting your DBA to grant
permissions for that!) or you can create a SQL Agent job and start it
using sp_start_job.

Good luck!
J


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.