what is the use primary key in dbms ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is the use primary key in dbms ?

13th Sep 2016, 6:57 PM
Sandeep Singh
Sandeep Singh - avatar
1 Answer
+ 1
A primary key is used as a unique identifier for each row of data in a table and cannot be NULL (blank). For example, if a table of users has a primary key of User_ID, each User_ID in that table must be unique and that field cannot be blank.
26th Sep 2016, 5:42 PM
Chris G
Chris G - avatar