Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How Do I Loop Through XML Datatype Within SSIS?

Posted on 2008-06-09
1
Medium Priority
?
1,005 Views
Last Modified: 2013-11-30
I have a SQL table that contains a column of type XML.  This column stores data in XML format that represent a row that needs to be uploaded to another server.  I need to have Integration Services read from this table and process each row.  Since row contains 1 XML column which will contain X amount of "rows".  Each row needs to be processed individually.

So... read table which has X amount of rows.  For each row read XML in column and loop through each Node which represents a given row.  Process/Insert the data within the XML (as parameters for another stored procedure).

I am hitting a wall here.  XML Source requires a variable or physcial file.  I am not sure how to do this with data from a SQL table of type XML.  Any ideas/help?
0
Comment
Question by:agorsky73
1 Comment
 
LVL 31

Accepted Solution

by:
James Murrell earned 1500 total points
ID: 21755338
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question