QuestionQ272

VerifiedCreating and Managing Tables

Which four of the following are valid Oracle constraint types?

Choose four
Explanation

Oracle recognizes UNIQUE, CHECK, and PRIMARY KEY as core constraint types you can define in a CREATE TABLE or ALTER TABLE statement, and it also recognizes CASCADE as a valid referential-action keyword (ON DELETE CASCADE) that can be attached when defining a FOREIGN KEY constraint, making it a legitimate part of Oracle's constraint vocabulary. By contrast, NONUNIQUE and CONSTANT are not valid Oracle constraint-related keywords in any DDL syntax, so they are excluded.

Community Discussion

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