Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







ORA-29902: Error in Executing ODCIIndexStart() Routine

Oracle Database Tips by Donald BurlesonMay 1, 2016

Question: We have been getting ORA-29902 errors from certain queries against some Oracle databases with Oracle Text. A good example of our queries is shown as follows: 

SELECT, r.parentid,
FROM assetrefs r
INNER JOIN FullTextStrings s ON s.assetid = AND CONTAINS( s.val, 'anyword', 1 ) > 0
WHERE r.parentid = '{583503FF-67E7-431E-93F8-382CCA65F9C5}';

The complete error message is shown as follows: 

11/16/07 01:19:35 ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50901: text query parser syntax error on line 1, column 1

Now, the tricky things about the error are:

  1. The error happens ONLY when the parameter for Oracle Text, 'anyword', is passed in  by our application via dynamic parameter binding. If we don't use dynamic binding for that parameter, the query runs well and returns correct results.

  2. The error happens no matter what 'anyword' is.

  3. Dynamic parameter binding for the parameter in the non-Oracle-Text constraint, r.parentid = '{583503FF-67E7-431E-93F8-382CCA65F9C5}', does NOT incur any error.

  4. The error always happens to some Oracle database instances but never happened to other instances.

Based on the observation described above, we suspected that our error problem is related to the configuration and/or environment of Oracle Text. Does anyone out there have any idea about what's wrong with the configuration/environment? Any idea how to fix the problem?

Answer:  To diagnose any error, you start by using the oerr utility to display the ORA-29902 error:

ORA-29902:  error in executing ODCIIndexStart() routine

Cause:  The execution of ODCIIndexStart routine caused an error.

Action:  Examine the error messages produced by the indextype code and take appropriate action.


In this case, it turns out the DRG-50901 is referencing a syntax error.  The locations in error messages are not always reliable, so reviewing the code as listed, I noted that 'anyword' is in single quotes when it should be in curly braces as follows:

INNER JOIN FullTextStrings s ON s.assetid = AND CONTAINS( s.val, '{anyword}', 1 ) > 0

This fix should eliminate the ORA-29902 and the DRG-50901 errors.

Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training

  Oracle consulting and training


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster