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 / 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 |
What is memory optimized table?
Why is %isopen always false for an implicit cursor?
How to select all records from the table?
Temporary table vs Table variable in sql server?
Is coalesce faster than isnull?
What are the rules to be applied to nulls whilst doing comparisons?
There is a table, In one column it has implemented a index, but the index is disturbed by the regular dml statements.. but still we need to keep the index. how it is possible?
How long it takes to learn pl sql?
What is sql performance tuning?
Mention what are different methods to trace the pl/sql code?
What are %type and %rowtype for?
What is a dirty read sql?