Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Error Redirect to SQL Server Table with Error Rows and Error Description

$
0
0

Hello Everyone

Can you please help me how can i redirect Error rows along with Error Description to a SQL Server Table. I have multiple source tables and i need to maintain a Single ErrorLog table.

My source is OLEDB and my Target is Oledb. 

Please note that the Source tables has different columns. 

I am planning to store the values as below , I need to Insert the Error Row in to one single Column as ErrorRow in the below table Description with datatype as XML.

CREATE TABLE [dbo].[ErrorLog](
[ErrorID] [int] IDENTITY(1,1) NOT NULL,
[ErrorRow] [xml] NULL,
[ErrorMessage] [varchar](1000) NULL,
[PackageName] [varchar](50) NULL,
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>