Solved

How Do I Loop Through XML Datatype Within SSIS?

Posted on 2008-06-09
1
992 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 500 total points
ID: 21755338
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now