nerdexam
Oracle

1Z0-909 · Question #31

1Z0-909 Question #31: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-909 to reveal the answer and full explanation for question #31. The question stem and answer options stay visible for context.

SQL Fundamentals

Question

Which change will prevent negative ages to be inserted into the people table?

Options

  • ADELIMITER //
  • BALTER TABLE people ADD COLUMN valid_age=ABS(check_age) GENERATED ALWAYS;
  • CDELIMITER //
  • DALTER TABLE people ADD CONSTRAINT check_age CHECK (ABS(age)>=0);

Unlock 1Z0-909 to see the answer

You've previewed enough free 1Z0-909 questions. Unlock 1Z0-909 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#CHECK constraints#Data validation#ALTER TABLE#Constraints
Full 1Z0-909 Practice