September 19, 2007 at 3:52 am
Hi All,
I have a DTS package all set up which takes about 2 secs to run when running it directly through enterprise manager.
However when I use xp_cmdshell it takes nearly a minute.
I need to increase performance - how can I do this?
September 19, 2007 at 10:35 am
I have no idea if it will improve your performance, but there are two main options that I know of if you want the call written in T-SQL without using xp_cmdshell. You can either go the OLE Automation route, documented in many places, including here, or you can create a job that runs the DTS package and use sp_start_job.
September 19, 2007 at 6:50 pm
Just curious... What does the DTS package do?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply