You will need a ForEach Loop container to loop through the files and
then use the XML Source Adapter in the pipeline to import the file.
It will look pretty similar to this.
Looping over files with the Foreach Loop
(
http://www.sqlis.com/55.aspx)
--
Allan Mitchell
http://wiki.sqlis.com |
http://www.sqlis.com |
http://www.sqldts.com |
http://www.konesans.com [quoted text, click to view] "farshad" <farshad@discussions.microsoft.com> wrote in message
news:A8559AC4-13EC-4D14-8C23-F80605FB93BE@microsoft.com:
> I would like to have a SSIS package which loops through each xml file (.xml
> files) in a folder on the network. And then for each file pull out the data
> and insert into a sql server table.
> Please kindly guide me through this i.e. What task(s) are required, etc.
> Thanks