I am searching based on xpath (Address/street/No) and using IN operator.
- Select *
- from tbCustomer
- where xmlColumn (Address/street/No) IN (1, 2, 3)
How can I achieve this?
Thanks
Darma
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priyanka JainPosted Jul 17, 2019, 2:55 AM
darma tejaPosted Jul 17, 2019, 2:39 AM
Priyanka JainPosted Jul 16, 2019, 1:20 PM
CAST(xml AS NVARCHAR(MAX)) like ('2')