Re: Skip DTS steps
From: Allan Mitchell (allan_at_no-spam.sqldts.com)
Date: 11/17/04
- Next message: Allan Mitchell: "Re: step dont'execute"
- Previous message: cowboy: "Excel to SQL using DTS"
- In reply to: IT Dep: "Skip DTS steps"
- Next in thread: IT Dep: "Re: Skip DTS steps"
- Reply: IT Dep: "Re: Skip DTS steps"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Nov 2004 19:24:23 -0000
Have you taken a look at this article
Skip the execution of an individual Task
(http://www.sqldts.com/default.aspx?214)
-- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.Konesans.com "IT Dep" <it@isslimREMOVE_TO_REPLYited.co.uk> wrote in message news:epzcz5MzEHA.1264@TK2MSFTNGP10.phx.gbl... > Hi > > It is possible to make DTS skip a number of steps according to the result of > a query for example: > > IF (SELECT * > FROM Modified_sage_tables > WHERE filenme = 'ACCESS1') IS NULL > GOTO "STEP XXXX" > ELSE > GOTO "STEP YYYY" > > > > Where "STEP YYYY" and "STEP XXXX" would be the steps of the package that I > wanted it to skip to, I would then want it to continue running through the > remaining steps of the package. > > One idea I had was to make it report an error with that step, then I could > have a success and a failure route out of that step guiding it on to the > appropriate step. However I can't seem to find anything to say how to get > it to report an error back. Thanks in advance. > > Dan > >
- Next message: Allan Mitchell: "Re: step dont'execute"
- Previous message: cowboy: "Excel to SQL using DTS"
- In reply to: IT Dep: "Skip DTS steps"
- Next in thread: IT Dep: "Re: Skip DTS steps"
- Reply: IT Dep: "Re: Skip DTS steps"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|