Question:Examine the following code: CREATE OR REPLACE TRIGGER secure_emp BEFORE LOGON ON employees BEGIN IF (TO_CHAR(SYSDATE, 'DY') IN ('SAT', 'SUN')) OR (TO_CHAR(SYSDATE, 'HH24:MI') NOT BETWEEN '08:00' AND '18:00') THEN RAISE_APPLICATION_ERROR (-20500, 'You may insert into the EMPLOYEES table only during business hours.'); END IF; END; / What type of trigger is it? 

A DML trigger 

B INSTEAD OF trigger 

C Application trigger 

D This is an invalid trigger 

+ Answer
+ Report
Total Preview: 2107

Copyright © 2024. Powered by Intellect Software Ltd