What is Function based Index and which type of function we can use in Function base index.
can we use aggregate,NVL function in Function based Index..

Answer Posted / dinesh

Its not batter to modify where clause column with function(Performance issue). So we need to create function based index. Eg.
Create Index Fun_indx on EMP (UPPER(FIRST_NAME).
we can't create function based index on aggregate function.
but we can create NVL function as function.
also we can create function based index on user define function but function should be"DETERMINISTIC".
eg
create or replace function fun_index(a in number) Return
Number DETERMINISTIC IS
BEGIN
'''
,,,
END;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a recursive stored procedure?

621


Which is faster subquery or join?

664


Is left join same as inner join?

543


What is a join?

631


Is join an inner join?

540






What is benefit of creating memory optimized table?

545


Does group by remove duplicates?

557


How to find 3rd highest salary of an employee from the employee table in sql?

571


How to download oracle sql developer?

667


How do I partition in sql?

542


How does left join work in sql?

526


What is sql constant?

513


What is the clause we need to add in function body to return variable?

544


does sql support programming? : Sql dba

611


Differentiate between % rowtype and type record.

735