Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
im1dermike
Posting Yak Master
222 Posts |
Posted - 2008-03-28 : 13:44:10
|
| I'm trying to create a stored procedure which will run 2 SSIS packages before it runs some other SQL code. I read [url=http://msdn2.microsoft.com/en-us/library/ms162810.aspx]this[/url] article. I'm trying to use the package from the file system.Here is the my code:CREATE PROCEDURE usp_participant_limits_reportASdtexec /f "C:\....\Activity_Limits.dtsx"GOThe error message says it doesn't like the "/". Anyone? |
|
|
im1dermike
Posting Yak Master
222 Posts |
Posted - 2008-03-28 : 13:53:31
|
Sweet. Nevermind. I figured it out.I went into Surface Area Configuration and enabled xp_cmdshell. Then I altered my SQL query to read:exec xp_cmdshell 'dtexec /f "C:\...\Activity_Limits.dtsx"'GOIt looks like it worked. |
 |
|
|
|
|
|