Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Selecting XML out

By Stags,

I have a table with multiple rows for Description belonging to one Heading. For each row of data I need a .
The xml should look like this:

A heading
234567890123456789010
234567890123456789010
234567890123456789010
  ...(to )


A heading
234567890123456789010
234567890123456789010
  ...(to )

Total article views: 264 | Views in the last 30 days: 2
 
Tags
miscellaneous    
 
Contribute