How many null values does a unique constraint accept in sql? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How many null values does a unique constraint accept in sql?

28th Apr 2020, 4:42 AM
Konala Teja Sri
2 Answers
+ 1
I you don't specify that the column can't take null values, then it can take as many null values as you want.
28th Apr 2020, 6:41 AM
Abdoul Hakim
Abdoul Hakim - avatar
0
You're welcome. If you wanna hear more SQL stuff then follow me, I am thinking about starting an SQL Blog in SoloLearn
28th Apr 2020, 6:47 AM
Abdoul Hakim
Abdoul Hakim - avatar