GrabCert
HomeExamsProvidersAbout
Sign InSign Up
Home/Exams/Oracle Oracle Technology Certification/Question #2
#2Multiple Choice

You wish to create a trigger on the ‘city’ table that will check the value of the ‘District’ field before any INSERT. The trigger needs to change it to" Unknown" for an empty string or NULL.

CREATE TRIGGER City_bi -

BEFORE INSERT ON CITY -

FOR EACH ROW -

BEGIN -
IF OLD. District IS NULL OR OLD.District= . .

THEN -
SET NEW.District=Unknown;
END IF :
END;
Does the CREATE TRIGGER statement accomplish this goal?

Previous
Question 2 of 85
Exam 1Z0-882 Topic 1 Question 3
Back to all questions
Next
GrabCert

Your trusted source for certification exam preparation. Pass your exams with confidence.

Quick Links

  • Home
  • Exams
  • Providers

Legal

  • About
  • Contact Us
  • Refund Policy
  • Privacy Policy
  • Terms of Service

© 2026 GrabCert. All rights reserved.

Sign InSign Up