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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[b]How to get DTS to ignore warnings [/b]

Status
Not open for further replies.

Nassy

Programmer
Mar 27, 2003
121
GB
Hi

Just a simple question.

When I run scripts in a DTS the scripts will execute and then terminate as soon as there is a first error or warning. For example if I have a list of insert statements in a DTS SQL task the task is terminated as soon as one of the inserts fails. How do I stop this happening so that each line is executed in turn even if some of the inserts fail ie due to truncate errors etc?

Nassy
 
You may want to edit the underlying ActiveX script and use the DTSTransformStat_xxxxx variable to control the action.

Read up in BOL -- on DTSTransformStat_xxxxx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top