Q
Problem solve Get help with specific problems with your technologies, process and projects.

ORA-00406 when trying to create a function index

When i want to create a function index, Oracle send me the error:
ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater.
My Oracle version is: Oracle8i Enterprise edition 8.1.7.0.0 What can I do to solve this?

As the ORA-406 error indicates, you'll have to change your COMPATIBLE parameter. Locate your INIT.ORA file for you database. The location is platform dependent. The "real" name of this file is INITsid.ORA where 'sid' is replaced with your database identifier. Use your OS tools to locate this file for you if you do not know where it is.

Once you've found this file, open it up in a text editor. Search for the parameter that says "COMPATIBLE". It may be in either lower or upper case. Change the value for this parameter to '8.1.7.0.0'. Save your changes. In order for the parameter to take effect, you'll have to restart your database.

For More Information

  • What do you think about this answer? E-mail the editors at editor@searchDatabase.com with your feedback.
  • The Best Oracle Web Links: tips, tutorials, scripts, and more.
  • Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
  • Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
  • Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close