Redirection of failed rows to Error Table

Hi,

I know we can redirect a error to say an OLE DB Destination or textfile. Is there something we can do so that I can know seeing the error table the reason for which the row failed.

The Error table will look just similar to the destination table, but for one col which should hold the reason say 'Truncate error' etc...

Is this possible?

Thanks,

[389 byte] By [MShetty] at [2007-12-24]
# 1

By default every error output in your dataflow will add a couple of columns: ErrorNumber and error column. The you can use script task to get the description of the error. Jamie has an explanation of that on his blog:

http://blogs.conchango.com/jamiethomson/archive/2005/08/08/1969.aspx

Rafael Salas

RafaelSalas at 2007-10-8 > top of Msdn Tech,SQL Server,SQL Server Integration Services...
# 2
Thanks for the input...
MShetty at 2007-10-8 > top of Msdn Tech,SQL Server,SQL Server Integration Services...

SQL Server

Site Classified