DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Function based index

  1. #1
    Join Date
    Mar 2002
    Posts
    303
    I want to create a function based index but i can't cause:

    ERREUR Line 1 :
    ORA-00907: Missing right parenthese

    SYNTAX:
    CREATE INDEX idx3 ON emp (substr(emp.empno,1,4) between emp.mgr and emp.sal);

    What's wrong??





  2. #2
    Join Date
    Aug 2002
    Location
    Bangalore, India
    Posts
    405
    Try this...

    CREATE INDEX idx3 ON emp (substr(emp.empno,1,4));

    this solves the problem and completes the purpose of function based index....

    -nagarjuna

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width