I'm trying to read xml node in sql server, i couldn't able to read the node data, can any one help me,
Below is xml Content:
The bold node im not able to read. Below im trying in sql server
select
Code = x.v.value('(code/@code)[1]', 'VARCHAR(100)') ,
DispositionCode= x.v.value('(------?-------)[1]', 'VARCHAR(100)')
FROM @XMLValue.nodes('entry/entryRelationship/encounter') x(v)

Guest UserPosted Jul 2, 2019, 4:54 AM