QuestionQ136

VerifiedCreating and Managing Tables

You run the following command to modify the country column in the departments table:

Question Image

Which statement is correct?

Explanation

Oracle Database permits a DEFAULT value to be added or changed for an existing column with ALTER TABLE ... MODIFY. The default is applied to subsequent inserts when the column value is omitted; existing row values, including NULL values, are unchanged. The MODIFY clause can specify only the portion of the column definition being changed, so the data type is not required.

Learn more

Community Discussion

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