ORA-00904: "CONTAINS": invalid identifier [message #392543] |
Wed, 18 March 2009 06:17 |
Olivia
Messages: 519 Registered: June 2008
|
Senior Member |
|
|
I got the below error.
select * from dual where contains(DUMMY,'X')>0
*
ERROR at line 1:
ORA-00904: "CONTAINS": invalid identifier
I need to have an alternative for the below sql
Select * from zrepository where fname like '%.rar' and
updt_tms between to_date('02/21/2009', 'MM/DD/YYYY') and to_date('02/27/2009', 'MM/DD/YYYY')
Thanks,
Oli
|
|
|
Re: ORA-00904: "CONTAINS": invalid identifier [message #392545 is a reply to message #392543] |
Wed, 18 March 2009 06:29 |
|
Hi,
I use Oracle 10g (10.2.0.1). When i try to execute the following query,
SELECT *
FROM DUAL
WHERE contains (dummy, 'X') > 0
I got the following error from TOAD,
ORA-20000: Oracle Text error:
DRG-10599: column is not indexed
I used "Contains" keyword for a indexed column,still the same error.
SELECT *
FROM scott.emp
WHERE contains (empno, 7) > 0
Regards,
Ashoka BL
|
|
|
|
|
|
|
|