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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priyanka JainRank #356 · 7K reputationPosted Jul 16, 2019, 10:55 PM EDT
Priyanka JainRank #356 · 7K reputationPosted Jul 16, 2019, 9:20 AM EDT
CAST(xml AS NVARCHAR(MAX)) like ('2')
darma tejaRank #3,199 · 449 reputationPosted Jul 16, 2019, 10:39 PM EDT