Ask Question
19 March, 01:45

In a database the primary key must contain?

+4
Answers (1)
  1. 19 March, 04:46
    0
    A field with a unique value

    Explanation:

    A primary key is a field (or a collection of fields) that contain a unique data to identify a precise row in a given table. This is used for data retrieval but also to fully identify the row to be edited in case of update.

    It can be as simple as an auto-increment counter, a serial number or an email address for example.

    It can also be complex and take into account a series of fields, like a combination of a date and a userID, as a simple example. In such case, the date field by itself would occur many times (many entries per day), and the userID would happen also many times (many daily entries by the userID), but the pair (date/userID) would be unique.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “In a database the primary key must contain? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers