?
Solved

Script in DTS

Posted on 2004-09-06
3
Medium Priority
?
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 total points
ID: 11991182
you can use master..xp_cmdshell stored procedure:

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

801 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