Answers for "What is the difference between surrogate key and primary key?"

0

What is the difference between surrogate key and primary key?

A surrogate key is a made up value with the sole purpose 
of uniquely identifying a row.
Usually, this is represented by an auto incrementing ID. 

A primary key is the identifying column or set of 
columns of a table. ... MUST be unique for any row 
and cannot be NULL .
Posted by: Guest on January-18-2022

Code answers related to "What is the difference between surrogate key and primary key?"

Browse Popular Code Answers by Language