QuestionQ230

VerifiedCreating and Managing Tables

Which two statements about constraints are true?

Choose two
Explanation

A UNIQUE constraint allows nulls unless a separate NOT NULL constraint is present. Oracle Database creates an associated unique index to enforce enabled UNIQUE and PRIMARY KEY constraints, whereas a foreign key does not create a unique index. A NOT NULL constraint prevents null values in the constrained column.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!