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...

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to shut down the server with 'mysqladmin'? : Sql dba

733


How to run sql functions in pl/sql?

723


What is the process of copying data from table a to table b?

800


Why triggers are used?

737


What port does sql server use?

707






What is indexes?

752


What is primary key and foreign key?

715


Can you select everything, but 1 or 2 fields, without writer's cramp?

688


What are the features of pl sql?

766


Is sql better than access?

713


How do you create a unique index?

773


What is the plv (pl/vision) package offers?

795


Which is faster truncate or drop?

776


What are sql objects?

736


What kind of join is join?

703