ah... i compared Lookup transform and OLE DB transform. For lookup transform, you can control "ErrorRowDisposition" for both Command Input and Command Output....
But for OLE DB Transform, you can control "ErrorRowDisposition" for only input, not output !!
So i guess I cannot RAISERROR in the stored proc and let OLE DB transform separate the "bad" records from the "good" records.
Perhaps I need to modify the stored proc to catch all errors - and return an errorCode parameter as output ? And then check this output parameter to see what records are not processed correctly ?
please advice !
No comments:
Post a Comment