hi, can i ask a hand on this...
how can i query in the xml document,
customers having state="Australia"
with the gender="female"
using the function xmlexists
<Customer>
<name>shane</name>
<address>
<state>Australia</state>
<zipcode>0012</zipcode>
</address>
<gender>female</gender>
</Customer>
here is my code.
Quote:
select id from
customer
where xmlexist($cust_xml/customer/address[state="Australia"]')
|