Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSIS reading multiple xml files from folder

Tags:

People also ask

How can I read multiple XML files in SQL Server?

The general approach should be something like this: SELECT b. value('(./SomeNode/text())[1]','nvarchar(100)') as [Some_Text], b. value('(./SomeOtherNode/@VAL)[1]','int') as [Some_Val] FROM [SOME_TABLE] CROSS APPLY [XML_FILE].

How do you load XML files in SSIS?

For this purpose, we use an XML Source task from the SSIS package toolbox. Drag this XML Source in the Data Flow. SSIS adds the task in the data flow task created earlier. For the source configuration, double-click on the XML Source, and you get an XML Source editor.


Hi all i'm new to SSIS and i'm wanting to read a bunch of xml files in a specific folder. I would like to read the xml files and output the data in a database table. However i'm a little bit confused as to where to start. Could someone point me in the right direction? I've had a search on the internet but all the tutorials seem to cover looping through txt files and not xml files. I will be using sql server 2005 if that makes any difference.

Many thanks :)