Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is difference between UNIQUE constraint and PRIMARY KEY constraint ?

2 like 0 dislike
Hello guys,

What is difference between UNIQUE constraint and PRIMARY KEY constraint ?

Please give me your feedback...........

Thanks in advance
asked 1 year ago by daneim (127,080 points)

1 Answer

1 like 0 dislike
 
Best answer
A column defined as UNIQUE can contain Nulls while a column defined as PRIMARY KEY can't contain Nulls.
answered 1 year ago by marck_don (191,010 points)

Related questions

6 like 0 dislike
1 answer
9 like 0 dislike
1 answer
4 like 0 dislike
1 answer