Re: Executeable using DTS
From: Darren Green (darren.green_at_reply-to-newsgroup-sqldts.com)
Date: 02/24/04
- Next message: Darren Green: "Re: Execute DTS from VB Using File DSN"
- Previous message: Darren Green: "Re: setting sql query of Transform Data Task with ActiveX Script Task inside DTS package?"
- In reply to: Mike: "Executeable using DTS"
- Next in thread: anonymous_at_discussions.microsoft.com: "Executeable using DTS"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 19:12:15 +0000
In message <071b01c3fae5$56f99d80$a301280a@phx.gbl>, Mike
<anonymous@discussions.microsoft.com> writes
>I'm using an execute task to call the system stored
>procedure to execute an exe. Unfortunately, it gives an
>erro saying somethign about SELECT, UPDATE, DELETE etc...
>How should one execute an executeable using DTS, in an
>EXECUTE TASK or something else. Thanks.
>
>Mike
I would use the Execute Process Task to execute an EXE.
If you really want to do this through T-SQL and the Execute SQL Task,
perhaps for security or location contexts, then use some SQL with
xp_cmdshell, e.g.
EXEC master.dbo.xp_cmdshell 'C:\MyApp.exe'
If this is what you are doing and it doesn't work, then please post the
full error message.
-- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com PASS - the definitive, global community for SQL Server professionals http://www.sqlpass.org
- Next message: Darren Green: "Re: Execute DTS from VB Using File DSN"
- Previous message: Darren Green: "Re: setting sql query of Transform Data Task with ActiveX Script Task inside DTS package?"
- In reply to: Mike: "Executeable using DTS"
- Next in thread: anonymous_at_discussions.microsoft.com: "Executeable using DTS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|