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
Explain the difference in execution of triggers and stored procedures?
What is record type in pl sql?
What type of database is cloud sql?
how many ways we can we find the current date using mysql? : Sql dba
Name the different types of indexes in sql and define them.
What are different methods to trace the pl/sql code?
What does fetching a cursor do?
What is bind reference and how can it be created?
where are cookies actually stored on the hard disk? : Sql dba
How is use pl and sql?
What are all ddl commands?
Explain the insert into statements in sql?
What is varchar data type in sql?
What is the difference between drop and truncate commands?
What are the benefits of stored procedures?