dbTalk Databases Forums  

SSIS - Transforming Rows and Columns into XML

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS - Transforming Rows and Columns into XML in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave
 
Posts: n/a

Default SSIS - Transforming Rows and Columns into XML - 01-12-2006 , 11:39 PM






We all know that SSIS can take an XML source and convert it to rows & columns
for processing in a Data Flow.

But is there any way to take rows and columns from a SQL command and
transform that into an XML string.

The only ays I know would be to

1. Return XML from the SQL Command and bind it to s string variable.

2. Use a DataFlow component to right to an ADO Recordset destination which
is bound variable, then write a script to loop through the Recordset variable
and create an XML string.

Anyone else know of better ways?

Thanks,
Dave.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.