Oracle Database 19.23
Dear Team,
kindly advise if index can be created on RECORD_STATUS and CO_CODE only?
SELECT RECID FROM A WHERE ( XMLEXISTS('$t[some $d in /row/c82/text() satisfies starts-with($d,$id)]'PASSING "THE_RECORD" as "t", :1 as "id") ) and "RECORD_STATUS" = :2 and "CO_CODE" = :3 ORDER BY RECID
SELECT RECID FROM B WHERE ("RECORD_STATUS" = :1 and "CUSTOMER" = TO_NUMBER(:2 ) or ( XMLEXISTS('$t[/row/c105/text()=$id]' PASSING "THE_RECORD" as "t", TO_NUMBER(:3 ) as "id") )) ORDER BY RECID
Thanks,
Roshan