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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the constraints on severity level in raiseerror?

773


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

2016


What is data modeling with example?

722


How to generate OIDS

1922


You have two tables with a one to many join based on a field named id. You need to find records in the parent table that are not represented in the child table. how would you accomplish this?

841


What are the types of database model?

813


Where is dbms used?

849


Hi my program is accesing data from two db2 databases.what is the bind card for this program to genarate plan? how to specify the two owners and two qualifiers in bind card

1899


There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?

2205


What is DB Development software?

1830


Write the fastest query to find out how many rows exist in a table?

903


Explain the rollup operator?

840


I have a few records all are same structures data, I want to store data in multiple targets how

2386


Explain the process of the user request and data generating?

880


How to use online Backups?

1997