![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |