Home My Account

Primary Key

August 31, 2017

A primary key is a special relational database table column (or combination of columns) designated to uniquely identify all table records.

A primary key’s main features are:

    It must contain a unique value for each row of data.
    It cannot contain null values.

A primary key is either an existing table column or a column that is specifically generated by the database according to a defined sequence.

A primary key is a unique key so it identifies a unique row in a table.

Tweet