dbTalk Databases Forums  

Execute package from query analyzer

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


Discuss Execute package from query analyzer in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dimitris Nikolakakis
 
Posts: n/a

Default Execute package from query analyzer - 05-16-2006 , 05:19 AM






I have SQL 2K and I have created a local package to import data from Access
mdb and I have saved it in Data Transformation Services --> Local Packages


I would like to know if this can be executed from SQL query analyzer.

Thanks
Dimitris




Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: Execute package from query analyzer - 05-16-2006 , 10:13 AM






One option is to use xp_cmdshell and execute dtsrun. Along
the lines of:
use master
go
exec xp_cmdshell 'dtsrun /SYourServer /NYourPackage /E'

You can find more information about dtsrun in SQL Server
books online.

-Sue

On Tue, 16 May 2006 13:19:35 +0300, "Dimitris Nikolakakis"
<dn (AT) hol (DOT) gr> wrote:

Quote:
I have SQL 2K and I have created a local package to import data from Access
mdb and I have saved it in Data Transformation Services --> Local Packages


I would like to know if this can be executed from SQL query analyzer.

Thanks
Dimitris




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.