![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I re-created my DTS package in SQL Server 2005. I now execute the package using: [ Exec Master..xp_cmdshell 'DTExec /f C:\Data\packagename.dtsx' ] It is working fine however, is there another way of executing this package in SQL Server 2005 without having to go to xp_cmdshell and run DTExec? Okay, so the [ packagename.dtsx ] is external but let's say it was internal. Is there a way to execute a package in one step instead of 2 as above? |
#3
| |||
| |||
|
|
I re-created my DTS package in SQL Server 2005. I now execute the package using: [ Exec Master..xp_cmdshell 'DTExec /f C:\Data\packagename.dtsx' ] It is working fine however, is there another way of executing this package in SQL Server 2005 without having to go to xp_cmdshell and run DTExec? Okay, so the [ packagename.dtsx ] is external but let's say it was internal. Is there a way to execute a package in one step instead of 2 as above? |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
|
The fastest (and best) way to execute an SSIS package can be found here: http://msdn2.microsoft.com/en-us/library/ms136090.aspx |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Thank you for stopping by Allan. I wanted to execute an SSIS package at the click of a button from a web page. I came across 3 ways of doing this, all from the click on a button. The first was using DTExec, the second was by executing an unscheduled job and the third was by using SqlServer.Dts.Runtime in Asp.Net 2.0. I found that the last option was the fastest and speed is what I am looking for. What are your suggestions? I would really appreciate your insite. Thank you for your intesest. |
![]() |
| Thread Tools | |
| Display Modes | |
| |