The database have Table EMP with 3 columns empID , badgID , XMLDATA.
The XMLDATA have datatype "clob" and data is in the form -
<Record id="11">
<Demo rID="5"/>
</Record>
How can I read the attribute "rID" in node "Demo"value in the above XMLDATA in single query?
Server - SQL Server 2005