Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to create function based index on a table.

Status
Not open for further replies.

abhijit74

Programmer
Oct 1, 2003
16
US
Hi Folks,

I am unable to create a function based index on a table. The error I am getting in invalid column name.
The function I am trying to use is SUBSTR(COLUMN_NAME,1,3)


I tried creating function based index for UPPER(COLUMN_NAME). It doesn't work either. I keep on getting insufficient privileges.

I used
ALTER SESSION SET QUERY_REWRITE_ENABLED = TRUE ;
to enable the option, but that doesn't seem to be working.


Cheers!
Abhijit
 
You should be granted QUERY REWRITE.

Regards, Dima
 
Granted. Ok. I get it. It should come from some one with DBA privs. Any ideas on how to get DBA privs?

In our shop, the DBA's never listen to the developers.

Regards,
Abhijit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top