Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: DRG-50901 and escape characters
neo wrote:
> I'm sorry there's ")" which shouldn't be here.
> You may read :
> 1st One :
> SELECT COL1 FROM TABLE1 WHERE (CONTAINS(COL1, 'someting(%' ) > 0)
> 2nd One :
> SELECT COL1 FROM TABLE1 WHERE (CONTAINS(COL1, 'someting%' ) > 0)
> 3rd One :
> SELECT COL1 FROM TABLE1 WHERE (CONTAINS(COL1, 'someting(' ) > 0)
No problem for me with the first one:
SQL> select * from t where contains(x,'printf\(%')>0;
X
then printf($foo);
Post the actual output from sqlplus along with your Oracle version.
Is your context index up-to-date?