My Oracle Support Banner

ORA-29859, DRG-50857, ORA-942 when Truncating a Table with Context Index (Doc ID 1214700.1)

Last updated on MAY 27, 2012

Applies to:

Oracle Text - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 28-May-2012***


When truncating a table with a text index, was created with UNUSABLE keyword on the create index statement, we receive the following errors:

SQL> truncate table foo;
truncate table foo
ERROR at line 1:
ORA-29859: error occurred in the execution of ODCIINDEXTRUNCATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drvxtab.trunc_index_tables
ORA-00942: table or view does not exist
ORA-06512: at "CTXSYS.DRUE", line 160


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.