I am creating an index on Emp table Empno column,if u using
this indexed column in ur SELECT stmt. where clause,then how
do u know that yr index will be working or nor?
Thanks Advance...

Answers were Sorted based on User's Feedback



I am creating an index on Emp table Empno column,if u using this indexed column in ur SELECT stmt...

Answer / satish

Do the explain plan.if it is not using ur created index
then use hints to use ur created index

Is This Answer Correct ?    6 Yes 0 No

I am creating an index on Emp table Empno column,if u using this indexed column in ur SELECT stmt...

Answer / suresh ramsing

You execute your query like
explain plan for select sal from emp where empno='1224';
after that check this below one.
select * from table(dbms_xplan.display);
here u can find it'll be excuted by using index or TABLE ACCESS FULL

Is This Answer Correct ?    4 Yes 0 No

I am creating an index on Emp table Empno column,if u using this indexed column in ur SELECT stmt...

Answer / manoranjan sethy

by using SET AUTOTRACE ON EXPLAIN tool you can came to know weather such index is working or not.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Is not equal in sql?

0 Answers  


Why schema is used in sql?

0 Answers  


Is sql similar to python?

0 Answers  


What is procedure function?

0 Answers  


Explain sql data types?

0 Answers  






Write one update command to update seqno field of a table on the basis of row number.

4 Answers   HCL,


What is clustered index in sql?

0 Answers  


Can we use loop in sql?

0 Answers  


What is mutating error in pl sql?

0 Answers  


If you want a column to be part of the result set, after which SQL keyword does it belong? 1. SELECT 2. FROM 3. WHERE 4. GROUP BY 5. HAVING

10 Answers   HCL, TCS,


What are commit, rollback, and savepoint?

0 Answers  


What are all different types of collation sensitivity?

0 Answers  


Categories