Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Access Training and help » Primary key data
Resolved · Medium Priority · Version 2007
Gerardo has attended:
No courses
Hi,
What is the purpose of identifying some data as "primary key"?
Thanks,
Gerardo
Hi Gerardo
The primary key of a relational table uniquely identifies each record in the table. It has to be unique such as employee number or Product code.
A good example would be a table containing all the names of students in a school.
You cannot use the students names as an identifyer because there will certainly be students with the same names but by making the Student ID as the primary key the system will warn you if you try and create a new student with an existing ID number.
The ID number can then be used in other tables to refer to the students
Hope this helps
Carlos
Tue 12 May 2009: Automatically marked as resolved.
|
Access tip:DsumYou can create percentage values based on individual products / items by using a Dsum function (used with a grouped query) |
We'll call during UK business hours
Server loaded in 0.07 secs.