1. what is the exact use of hint in sql.

2. How we can avoid index scan in sql even though index is
there in the table.

Answer Posted / karkuvelrajan muthusamy

1. Hints instructs the optimizer to generate the explain
plan as hinted rather than the optimizer choosing its own
explain plan..

2. There are many ways like disabling the index usage by
implementing a function or an operation on the indexed
column OR giving a FULL hint in the query for that
particular table etc

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an emotional trigger?

692


What is vector point function?

766


Is merge a dml statement?

729


What is pl sql package?

795


list out some tools through which we can draw e-r diagrams for mysql. : Sql dba

700






What is the purpose of a sql?

686


What are tables and fields?

761


what is offset-fetch filter in tsql? : Transact sql

713


What is secondary key?

669


What does cursor do in sql?

712


What is the life of an sql statement?

720


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

785


how do you login to mysql using unix shell? : Sql dba

742


what are the properties and different types of sub-queries? : Sql dba

700


How would you reference column values before and after you have inserted and deleted triggers?

815