Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS - ERROR Handling

Status
Not open for further replies.

CW1

Programmer
Apr 11, 2000
8
0
0
DE
Hello

I have following problem.
I create an DTS. In the DTS I defined an OLE-DB -Connection and an SQL-Task.

The syntax from the SQL-Task is very simple e.g.
1. update XX set field = '' .....
2. execute STORED_PROCEDURE
3. update XY set field = '' .....
When I execute the DTS and the STORED_PROCEDURE RETURN an ERROR the DTS-SQL Task write SQL-Task executed successfully.

When the syntax from the SQL-Task is only the 'execute STORED_PROCEDURE' --> and the Procedure return an Error the DTS-SQL-Task write
SQL-Task failed...

What can I do that the SQL-Task Return an ERROR when some step create an Error-Message.

Can anybody help me?
Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top