Solved

Script in DTS

Posted on 2004-09-06
3
178 Views
Last Modified: 2010-04-05
Is it possible to make scripting in DTS ?
Can you send me an example plaese.

Thank,

Sang-Do
0
Comment
Question by:PHD
  • 2
3 Comments
 
LVL 6

Author Comment

by:PHD
ID: 11990887
I Try to launch a DTS package that imports data from excel into sql server table maybe via a stored procedure or an sql command ... .

Is it possible ?

Sang-Do
0
 
LVL 6

Expert Comment

by:bpana
ID: 11991153
it is possible through dtsrun utility.
0
 
LVL 6

Accepted Solution

by:
bpana earned 500 total points
ID: 11991182
you can use master..xp_cmdshell stored procedure:

exec master..xp_cmdshell 'dtsrun /SServerName /UUserName /PPassword /NPackageName'
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question