Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is denormalization in a database?

0 Answers  


Why does %isopen return false for an implicit cursor?

1 Answers  


what is the syntax used for partition in tsql? : Transact sql

0 Answers  


Differentiate between %type and %rowtype attribute in Oracle PL/AQL programming ?

7 Answers   PreVator,


What is the difference between a database and a relational database?

0 Answers  


How do I write a cron which will run a sql query and mail the results to agroup?

0 Answers  


How does postgresql compare to oracle/db2/ms sql server/informix?

0 Answers  


how can we find the number of rows in a table using mysql? : Sql dba

0 Answers  


Can we create table inside stored procedure?

0 Answers  


What are the different types of joins in sql?

3 Answers  


What are tables and fields?

0 Answers  


Why do we use procedures in pl sql?

0 Answers  


Categories