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


What is the difference between a primary index and a
secondary index? What is a duplicate data entry in an index?
Can a primary index contain duplicates?

Answers were Sorted based on User's Feedback



What is the difference between a primary index and a secondary index? What is a duplicate data entr..

Answer / nusret sevinc

A primary index is an index on a set of fields that includes
the unique primary
key for the field and is guaranteed not to contain
duplicates. A secondary index
is an index that is not a primary index and may have
duplicates. Two entries are
said to be duplicates if they have the same value for the
search key field associated
with the index.

Is This Answer Correct ?    88 Yes 20 No

What is the difference between a primary index and a secondary index? What is a duplicate data entr..

Answer / roshan jha

The index in which the sort order of a search key is similar
to the sort order of a relation then the index is called
primary index.Ex.front index of the book.
While in secondary index the order of the search key is in
different order from the order of the key in file.eg.index
in back side of some book.
Two entries are said to be duplicate if have same
value for the search key field associated.primary index
doesnot have duplicates.

Is This Answer Correct ?    27 Yes 14 No

What is the difference between a primary index and a secondary index? What is a duplicate data entr..

Answer / sanjib sarkar

Index is a set of <KEY,ADDRESS> pair. Now in the case of
Primary Index both keys and addresses of the records are
kept in order to search a particular record faster but in
the case of Secondary Index only the addresses of the
records are kept in the index not the key.

Is This Answer Correct ?    5 Yes 4 No

What is the difference between a primary index and a secondary index? What is a duplicate data entr..

Answer / khadija

1.A primary index is an index on a set of fields that includes the unique primary key for the field and is guaranteed not to contain duplicates. A Secondary index is an index that is not a primary index and may have duplicates.
2.Example,
Employee ID can be Example of it. Example,
Employee name can be example of it. Because Employee name can have similar values.
3.The primary index contains the key fields of the table. The primary index is automatically created in the database when the table is activated. If a large table is frequently accessed such that it is not possible to apply primary index sorting, you should create secondary indexes for the table.
4.The index in which the sort order of a search key is similar
to the sort order of a relation then the index is called
primary index. Ex, front index of the book. While in secondary index the order of the search key is in
different order from the order of the key in file. Ex, index
in back side of some book.
5.In the case of
Primary Index both keys and addresses of the records are
kept in order to search a particular record faster. In the case of Secondary Index only the addresses of the
records are kept in the index not the key.
6.There can be only one primary index. There can be many secondary indices.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between a primary index and a secondary index? What is a duplicate data entr..

Answer / dinesh uikey

The primary index is on the field which specifies the
sequential order
of the file. There can be only one primary index while there
can be many
secondary indices.

Is This Answer Correct ?    12 Yes 19 No

Post New Answer

More DB Development Interview Questions

Write short notes on manual refreshes.

0 Answers  


When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).

0 Answers  


what is the use of foreginkey

2 Answers  


Why does this query return 0?

0 Answers  


how to find the first two highest salaries in deptno in emp table

2 Answers  


Any sample or model question of punjab national bank for deputy manger IT or any sample of PNB.any1 plz do send on

0 Answers  


what is architecture of your datastage project??? i came across this question many times in interviews in specific what can i answer plz help me

1 Answers   IBM,


What is an extended stored procedure?

1 Answers  


Pgm A calls Pgm B and pgm B uses cursor, when pgm B is called second time, the program is abending saying the cursor is opened? Why?

0 Answers   IBM,


What are triggers? How many triggers you can have on a table?

2 Answers   Ramco,


agregator gives one to many records or many to one record

1 Answers   IBM,


What are the three types of database design?

0 Answers  


Categories