dbTalk Databases Forums  

Workflow Questions

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


Discuss Workflow Questions in the microsoft.public.sqlserver.dts forum.



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

Default Workflow Questions - 09-20-2004 , 10:49 PM






Hi All,

I'm trying to write an Active X task that waits for 2 parallel data pump
tasks or excute SQL task to finish before it goes to the next step. Just
wonder if there's any site I can "copy" :-) the code from? Being new to SQL
server and all, just wonder if there's any books you would recommend for the
scripting. I have attended the DTS training but it doesn't seem to tell you
about the codes.

Thanks in advance for your help!

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Workflow Questions - 09-21-2004 , 06:52 AM






In message <D3DEFEB3-BD27-4FD2-B60B-40C6C9793110 (AT) microsoft (DOT) com>, Dave
Wong <Dave (AT) Wong (DOT) ?.microsoft.com.invalid> writes
Quote:
Hi All,

I'm trying to write an Active X task that waits for 2 parallel data pump
tasks or excute SQL task to finish before it goes to the next step. Just
wonder if there's any site I can "copy" :-) the code from? Being new to SQL
server and all, just wonder if there's any books you would recommend for the
scripting. I have attended the DTS training but it doesn't seem to tell you
about the codes.

Thanks in advance for your help!
You can do this simply with workflow constraints. Have the task that
must wait for the any preceding tasks linked by some workflow. All
workflow constraints must be satisfied for a task to execute, think of
AND logic not OR logic when looking at workflow.

There are several books out now on DTS, and plenty of info on websites.
Try www.sqldts.com, list of books under Resources section.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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

Default Re: Workflow Questions - 09-21-2004 , 12:13 PM



Thanks Darren! I came up with a method which involves GV, but I think there
is a smarter way to read the result of the datapumps and use that as a
condition. Thanks again.


"Darren Green" wrote:

Quote:
In message <D3DEFEB3-BD27-4FD2-B60B-40C6C9793110 (AT) microsoft (DOT) com>, Dave
Wong <Dave (AT) Wong (DOT) ?.microsoft.com.invalid> writes
Hi All,

I'm trying to write an Active X task that waits for 2 parallel data pump
tasks or excute SQL task to finish before it goes to the next step. Just
wonder if there's any site I can "copy" :-) the code from? Being new to SQL
server and all, just wonder if there's any books you would recommend for the
scripting. I have attended the DTS training but it doesn't seem to tell you
about the codes.

Thanks in advance for your help!

You can do this simply with workflow constraints. Have the task that
must wait for the any preceding tasks linked by some workflow. All
workflow constraints must be satisfied for a task to execute, think of
AND logic not OR logic when looking at workflow.

There are several books out now on DTS, and plenty of info on websites.
Try www.sqldts.com, list of books under Resources section.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.