Hi all
We are using ssms 2005 in our project.
I have created a package which has a precedence constraint condition.
I have given two precedence contraint from a execute sql task.
(First precedence constraint)->Lets say if the condition 1 is satisfied the package should succeed, which is functioning correctly.
(Second precedence constraint) ->if this condition fails I want a script task which simply fails the package with an error message 'this package failed due to wrong row count', which should come in the 'output' window .
Could some one help me with the vb code for the script task... Let me know if I should provide more info on the scenario.
Regards
Praveen..