Mister Ken
SSChasing Mays
Points: 659
More actions
May 12, 2010 at 3:32 pm
#73678
I created a SELECT statement with a "FOR PATH" to get XML output.
How could I capture the XML into a TSQL variable ?
WayneS
SSC Guru
Points: 95460
May 12, 2010 at 3:42 pm
#1166561
set @YourVar = ((select ... FOR XML))
WayneMicrosoft Certified Master: SQL Server 2008Author - SQL Server T-SQL Recipes
May 12, 2010 at 5:22 pm
#1166579
Thanks!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply