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

How to use timestamp datatypes

1581


To convert IDMS to DB2, how to deal with IDMS occurs and redefined clause?

3436


Which data type cannot be used as a parameter in a udf?

579


Hi , any one can help me on the same,this is regarding the Informatica Function doc,i want to know how developer is will develop the mapping. pl forwar the any function doc .just for my references. svlc75@yahoo.co.in

1588


Explain about relational database management systems?

571






Explain about relational operator join?

619


Explain about normal forms?

600


explain detail about ftp in datastage?

1815


The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?

577


What are the three basic rules which are to be followed for the relational model of the database?

564


How is data stored in dbms?

525


Who are naive users?

607


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

1821


How to customize error conditions.

1704


fact table and dimension table containg one to many relationship or many to one relastionship

2079