Hi,
I have a source table - the DDL is as below
CREATE TABLE [dbo].[PolicyDetail]
(
[PolicyDetailId] [bigint] IDENTITY(1,1) NOT NULL,
[PolicyNumber] [bigint] NULL,
[OriginalXml] xml,
[CreatedBy] [nvarchar](50) NOT NULL,
[CreatedDate] [datetime] NOT NULL,
)
This table has 10k records. In the '[OriginalXml]' column, actual xml file is stored as it is.
So, that means, 10k xml files are stored in the table. Now, I want to pull the originalxml column and create 10k individual xml files in a folder.
Can you please help me for this?
In the SSIS package, I have selected, Data Flow task. In the data flow task, for source, I have selected the table.
What should I select for Destination?
My target is to get the 10k individual files from the originalXML column from the table. Please help!
Thanks in advance for your help!
I have a source table - the DDL is as below
CREATE TABLE [dbo].[PolicyDetail]
(
[PolicyDetailId] [bigint] IDENTITY(1,1) NOT NULL,
[PolicyNumber] [bigint] NULL,
[OriginalXml] xml,
[CreatedBy] [nvarchar](50) NOT NULL,
[CreatedDate] [datetime] NOT NULL,
)
This table has 10k records. In the '[OriginalXml]' column, actual xml file is stored as it is.
So, that means, 10k xml files are stored in the table. Now, I want to pull the originalxml column and create 10k individual xml files in a folder.
Can you please help me for this?
In the SSIS package, I have selected, Data Flow task. In the data flow task, for source, I have selected the table.
What should I select for Destination?
My target is to get the 10k individual files from the originalXML column from the table. Please help!
Thanks in advance for your help!