Paresh's Blog
Friday, December 19, 2008
Read XMLColumn value and Get it in Table format
for Example the XML value is Like :
bbb
vvv
aaa
SELECT r1.value ('./@id', 'varchar(100)') as Attribute, '' as Value
FROM [Table Name] CROSS APPLY [ColumnName].nodes ('Root/D') AS x (r1)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment