define primary key & secondary key?

Answer Posted / chandrashekar

Secondary indices or secondary databases are used to access
a primary database by a key other than the primary key.
Recall that the Supplier Number field is the primary key of
the Supplier database. In this section, the Supplier City
field will be used as a secondary lookup key. Given a city
value, we would like to be able to find the Suppliers in
that city. Note that more than one Supplier may be in the
same city.

Both primary and secondary databases contain key-value
records. The key of an index record is the secondary key,
and its value is the key of the associated record in the
primary database. When lookups by secondary key are
performed, the associated record in the primary database is
transparently retrieved by its primary key and returned to
the caller.

Thaking You

Is This Answer Correct ?    17 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a xpath?

571


Tell me how would you test your own element locator?

546


What is the purpose of getoptions() method?

590


Which test cases can be automated?

575


What all different approaches can be used for designing an automation solution?

498






Explain what is a relative xpath?

557


Give some examples of priority – severity defect levels.

537


What you know about table-driven testing?

560


How does load testing work for websites?

627


How can we make one test method dependent on other using testng?

537


Do you know how to verify if the checkbox/radio is checked or not?

537


What is the Differnce between Client/Server Testing and Web Based Testing?

7670


What is tsl?

571


What is an automation testing framework?

583


Can you achieve 100% automation?

582