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