|
Thanks to those who replied for all of your help.
However, when I try to run this, I get error message, "could not find stored
procedure 'xp_cmdshell'".
I'm looking through both the BOL and the DTS site, and the
only reference to executing this remotely is through VB/ASP commands, both of
which I am very weak at.
Thanks, again.
Karen
>>> [EMAIL PROTECTED] 9/10/02 6:27:35 PM >>> <cfquery......> exec xp_cmdshell 'dtsrun [args]' </cfquery> look up 'Books Online' in your sql server program group and do a search on dtsrun to get the command line arguments... used it many a time for those oh-so-wonderful dts packages that I can't get to behind a firewall!! good luck!! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of S. Isaac Dealey Sent: Tuesday, September 10, 2002 5:50 PM To: [EMAIL PROTECTED] Subject: Re: Executing a DTS using CFQUERY > Is it possible to execute a saved DTS using CFQUERY tag? > I've tried > Execute DTSName, but it didn't work. I think so... or if not from a stored procedure... afaik it's a bit tricky tho... If you create a dts package, then schedule it, you can right-click on the job for the package and select properties. Select the steps tab, select the single step, then press the Edit button at the bottom. And yea there unto the end of your journey I say unto you, rife with toil though it hath been, ye shall find some freaky ass command like: DTSRun /~Z0x3A2A50FF46844ED7905060ADC57CD028DB753D706D72D6DB060DA3487469E6C9 8328F5EC62B8A1043DCB131FB7A1795E00448FB9363CB9A616B862794C2848E04C55F10B51B8 D1ADC88527BDB24F199D403489A9175CEDF7495D45E9014C741D323498FB2FAFBA26F78D66 Although this does say Type: Operating System Command (CmdExec), so this might be what you have to put in a <cfexecute> tag to run this particular dts package... or something similar... it also might vary dependant on how the dts package is saved, whether it's saved as a file or within sql server, etc... Sorry I couldn't be more helpful. Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org |
- Re: Executing a DTS using CFQUERY S . Isaac Dealey
- RE: Executing a DTS using CFQUERY Johnny Thompson
- Karen Harker
