Can a pri Mary key have a null value?

1 answer

Answer

1217385

2026-03-26 20:30

+ Follow

No, a primary key cannot have a null value. A primary key is used to uniquely identify each record in a database table, and having a null value would violate this uniqueness requirement. Therefore, every primary key must contain a unique, non-null value for each record.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.