Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> ESCAPE clause causing longer query execution time

ESCAPE clause causing longer query execution time

From: <traci.l.rebman_at_rrd.com>
Date: Fri, 18 Feb 2005 14:40:46 -0500
Message-ID: <OFD5C57729.83CCE307-ON86256FAC.006ACAFF@rrd.com>


Hello,
I have a query using LIKE with the ESCAPE clause to search for an underscore '_' as a literal value. When I run the query with the ESCAPE clause it takes much longer then when the same query is run without the ESCAPE clause. I thought maybe it was an index issue, but explain plans for both queries are identical. I also tried rebuilding the indexes on the table, but that made no improvement. Does anyone have any suggestions...I am stumped!

Time to delete row with value "EZ_COMPARE"       ==>  2 min. 54 secs.
Time to delete row with value "EZCOMPARE"       ==>  2 secs.

Thank you in advance,
Traci L. Rebman

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Feb 18 2005 - 16:13:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US