dbTalk Databases Forums  

Re: Running DTS Package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Running DTS Package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roy Goldhammer
 
Posts: n/a

Default Re: Running DTS Package - 04-02-2004 , 01:50 PM






Hy allan

Thanks for your attantion

I tried to use the DTSRUN via xp_cmdshell

The problem is that the direcorty that i get on the xp_cmdshell is the
server and not my client

The package i designed in my workstation so the paths is diffrent when i run
it from the server.

Do you know how can i run it from my workstation?
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
The OLE errors are not very intuitive
Are you simply firing the package?
What about using xp_cmdshell and DTSRUN

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Roy Goldhammer" <roygoldh (AT) hotmail (DOT) com> wrote in message
news:OjNLM4KFEHA.696 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Thankes allan

I can't belive the there is no sp_ that do this

I've tried the OLE way but it don't work and it doesn't tell me way

The name i give to my package is: Load From Import

what can be the problem?
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:Oj#v8CnEEHA.3788 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Have a look through here

Execute a package from T-SQL
(http://www.sqldts.com/default.aspx?210)

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Roy Goldhammer" <roygoldh (AT) hotmail (DOT) com> wrote in message
news:%23uvURbmEEHA.3788 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Hello there

Is there a way to run DTS Packege via sql code?

on the query anlyser?

any help would be useful











Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.