SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 DTSX
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Pete_N
Posting Yak Master

179 Posts

Posted - 07/30/2014 :  08:42:34  Show Profile  Reply with Quote
I have a problem I need to resolve. or indeed if I am on the right forum.

We build a dtsx with VS2012 on a SQL2014 server. I need to execute that dtsx from a SQL 2008R2 Stored Procedure.

Is it possible to run the sp from vs2008 to run the dtsx or would I need to call a sp on the SQL2014 server to execute the dtsx.

because of the components used in the dtsx for CRM I cannot build the dtsx on the 2008 Rs server

tkizer
Almighty SQL Goddess

USA
37460 Posts

Posted - 07/30/2014 :  12:39:37  Show Profile  Visit tkizer's Homepage  Reply with Quote
Can it be done asynchronously? If so, you could have the stored procedure start a job that executes the package. If it needs to be synchronous, you could have the stored procedure pause and keep checking the status of the job. Alternatively, you can run the package via xp_cmdshell, but that's highly against best security practices.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000