Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Pause and Loop in DTS

Author  Topic 

TexDec
Starting Member

22 Posts

Posted - 2002-06-13 : 17:43:41
I use a table to record completion of processes in my database. I want to have a DTS package that waits for an entry in this table. I've setup a query to 'poll' this table and upon success it continues with the rest of the package.
On failure, I want the package to wait a period of time (say 5 mins) and then re-poll the table.
My question, after a long intro, is pretty short.

How do I make DTS wait for 5 mins before continuing?

BTW I'm new to this stuff....

byrmol
Shed Building SQL Farmer

1591 Posts

Posted - 2002-06-13 : 17:59:54
TexDec,

There is a TSQL command called WAITFOR.. look it up on BOL..






DavidM

"SQL-3 is an abomination.."
Go to Top of Page

TexDec
Starting Member

22 Posts

Posted - 2002-06-13 : 18:10:10
Great, I knew it would be simple, just couldn't find it in BOL.

Thanks for the help (and the lightning response)

Declan K


The only Keane we need is Robbie
Go to Top of Page
   

- Advertisement -