dbTalk Databases Forums  

Help! Delay

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


Discuss Help! Delay in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Wong
 
Posts: n/a

Default Help! Delay - 04-20-2004 , 05:56 AM






I'm trying to get my DTS job downloading from Oracle to delay for 3 hours if the I cannot find a specific record in an Oracle table. I tried to use "On Failure" but it doesn't seem to work since nothing seems to fail. What can I do? Thanks for your help

Dave Wong

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Help! Delay - 04-20-2004 , 06:52 AM






You can easily set up workflow.

An Example would be.

Active Script task - Check for Row in table
------> row is there then move on to the
DataPump task. Set a Global Variable to Done
------>Row is not there then Wait for 3
hours, retry. (do this in a loop)

You can find examples of workflow here

Workflow
(http://www.sqldts.com/default.aspx?103)


--

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

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


"Dave Wong" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm trying to get my DTS job downloading from Oracle to delay for 3 hours
if the I cannot find a specific record in an Oracle table. I tried to use
"On Failure" but it doesn't seem to work since nothing seems to fail. What
can I do? Thanks for your help.
Quote:
Dave Wong



Reply With Quote
  #3  
Old   
Dave Wong
 
Posts: n/a

Default Re: Help! Delay - 04-21-2004 , 01:21 AM



Thanks Allan! It works.

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.