QuestionQ169

VerifiedManaging Schema Objects

You created an ORDERS table with the following definition:

Exhibit:

Question Image

You inserted rows into the table. Later, you want to alter the table to create a PRIMARY KEY constraint on the ORD_ID column.

Which statement is true in this situation?

Explanation

A primary key constraint may be added to an existing table. Existing ORD_ID values must be unique and non-null; ORD_ID is already defined as NOT NULL, so the constraint can be created if no duplicate values exist.

Learn more

Community Discussion

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