I have a table tblUserData in SQL Server Database which has two columns:
tblUSerData(ID BIGINT, UserData XML)
The XML structure would be like:
<user>
<name>
Akshay
</name>
<age>
23
</age>
</user>
I want to write a stored procedure such that would read the table and return records of users who are more than 20 years old. I am confused how to parse the table for data in efficient manner. Thanks in advance.