How to load an XML file into a database using an SSIS package?
72,964
You also need to add @[user::FilePath]
to the [XML Source].[XMLData]
in the data flow task or the package says no source file found after package execution.
Author by
K.Sindhu
Updated on March 29, 2020Comments
-
K.Sindhu about 4 years
I am using SSIS in Visual Studio 2008. I have many XML files that I need to process and place into an existing DB structure (SQL Server 2005). This is my first attempt at using SSIS and am a little stuck. I have found the XML Data Flow task, assigned it a test xml file and it's associated XSD, and mapped one node to a Database Table. My question is, how do I associate many xsd nodes with many tables? Surely I don't have to set up an XML source for each table?