Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unique constraint with NULLs

M.EmmanuelAug 14 2016 — edited Aug 15 2016

Is it possible to have a unique constraint so, for example, in a customer table, customer code must be unique but the table allows to insert rows with NULL values in customer code (so NULL can be repeated).

Oracle 11g XE.

This post has been answered by unknown-7404 on Aug 14 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2016
Added on Aug 14 2016
13 comments
2,442 views