dbTalk Databases Forums  

workflow problem

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


Discuss workflow problem in the microsoft.public.sqlserver.dts forum.



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

Default workflow problem - 09-09-2003 , 04:31 PM






I have a DTS where an Execute SQL task precedes an ActiveX Script task. The
workflow between them indicates that the Execute SQL Task must complete
successfully before proceeding to the ActiveX Script task. However, the
Execute SQL task is not completing before the ActiveX Script task begins,
which is leading to DTS failure. I have indicated in the workflow
properties for the Execute SQL task that the results for it should be
committed upon completion. Any advice? Thanks in advance.



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

Default Re: workflow problem - 09-10-2003 , 01:20 AM






So you have it looking like example 1 here

Introduction to Workflow
(http://www.sqldts.com/default.aspx?287)

What is in the ExecuteSQL task?


--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Serena" <sh (AT) syr (DOT) edu> wrote

Quote:
I have a DTS where an Execute SQL task precedes an ActiveX Script task.
The
workflow between them indicates that the Execute SQL Task must complete
successfully before proceeding to the ActiveX Script task. However, the
Execute SQL task is not completing before the ActiveX Script task begins,
which is leading to DTS failure. I have indicated in the workflow
properties for the Execute SQL task that the results for it should be
committed upon completion. Any advice? Thanks in advance.





Reply With Quote
  #3  
Old   
Serena
 
Posts: n/a

Default Re: workflow problem - 09-10-2003 , 12:22 PM



Yes, it's like example 1 in that link. The Execute SQL task is a series of
update/delete statements that clean the data in a single table -- e.g.,
removing certain characters, deleting a header row (if there is one), etc.
The data needs to be cleansed before it moves on to the next step.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
So you have it looking like example 1 here

Introduction to Workflow
(http://www.sqldts.com/default.aspx?287)

What is in the ExecuteSQL task?


--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Serena" <sh (AT) syr (DOT) edu> wrote in message
news:eF6IqnxdDHA.2340 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I have a DTS where an Execute SQL task precedes an ActiveX Script task.
The
workflow between them indicates that the Execute SQL Task must complete
successfully before proceeding to the ActiveX Script task. However, the
Execute SQL task is not completing before the ActiveX Script task
begins,
which is leading to DTS failure. I have indicated in the workflow
properties for the Execute SQL task that the results for it should be
committed upon completion. Any advice? Thanks in advance.







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

Default Re: workflow problem - 09-11-2003 , 02:25 AM



What happens if you break up the n statements in the single ExecuteSQL task
into multiple tasks connected by workflow ?

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Serena" <sh (AT) syr (DOT) edu> wrote

Quote:
Yes, it's like example 1 in that link. The Execute SQL task is a series
of
update/delete statements that clean the data in a single table -- e.g.,
removing certain characters, deleting a header row (if there is one), etc.
The data needs to be cleansed before it moves on to the next step.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23Cq1mO2dDHA.1448 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
So you have it looking like example 1 here

Introduction to Workflow
(http://www.sqldts.com/default.aspx?287)

What is in the ExecuteSQL task?


--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Serena" <sh (AT) syr (DOT) edu> wrote in message
news:eF6IqnxdDHA.2340 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I have a DTS where an Execute SQL task precedes an ActiveX Script
task.
The
workflow between them indicates that the Execute SQL Task must
complete
successfully before proceeding to the ActiveX Script task. However,
the
Execute SQL task is not completing before the ActiveX Script task
begins,
which is leading to DTS failure. I have indicated in the workflow
properties for the Execute SQL task that the results for it should be
committed upon completion. Any advice? Thanks in advance.









Reply With Quote
  #5  
Old   
Serena
 
Posts: n/a

Default Re: workflow problem - 09-11-2003 , 01:21 PM



Just tried that, and it didn't work.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
What happens if you break up the n statements in the single ExecuteSQL
task
into multiple tasks connected by workflow ?

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Serena" <sh (AT) syr (DOT) edu> wrote in message
news:eYQWgA8dDHA.1752 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Yes, it's like example 1 in that link. The Execute SQL task is a series
of
update/delete statements that clean the data in a single table -- e.g.,
removing certain characters, deleting a header row (if there is one),
etc.
The data needs to be cleansed before it moves on to the next step.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23Cq1mO2dDHA.1448 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
So you have it looking like example 1 here

Introduction to Workflow
(http://www.sqldts.com/default.aspx?287)

What is in the ExecuteSQL task?


--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Serena" <sh (AT) syr (DOT) edu> wrote in message
news:eF6IqnxdDHA.2340 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I have a DTS where an Execute SQL task precedes an ActiveX Script
task.
The
workflow between them indicates that the Execute SQL Task must
complete
successfully before proceeding to the ActiveX Script task. However,
the
Execute SQL task is not completing before the ActiveX Script task
begins,
which is leading to DTS failure. I have indicated in the workflow
properties for the Execute SQL task that the results for it should
be
committed upon completion. Any advice? Thanks in advance.











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 - 2013, Jelsoft Enterprises Ltd.