Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
primary key data

ResolvedVersion 2007

Gerardo has attended:
No courses

Primary key data

Hi,

What is the purpose of identifying some data as "primary key"?

Thanks,
Gerardo

RE: Primary key data

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.

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.