Here is my query which I'm using to fetch the data from my table.
SELECT XMLQUERY('$INFO/root/database_systems/system/@name = ("SYS1","SYS2","SYS3")')
FROM MyTable WHERE ACCT_ID = 'ID-1234';
Ok actually it is returning me true. Just because of the first value SYS1. It exists in the hierarchy but not the others. I just want to compare multiple values.
Please suggest a way to achieve this functionality. Thanks
<root>
<database_systems>
<system name="SYS1">1</system>
</database_systems>
</root>