When I try try implement the trigger statement, I got the error message "Encountered the symbol "Update"" but I don't what why it happened
CREATE OR REPLACE TRIGGER Trigger1
before DELETE OR UPDATE OR INSERT ON condition
FOR EACH ROW
WHEN (SYSDATE NOT BETWEEN
to_date(to_char(SYSDATE, 'DD.MM.RRRR') || '06:00', 'DD.MM.RRRR HH24:MI' )
AND to_date(to_char(SYSDATE, 'DD.MM.RRRR') || '12:00', 'DD.MM.RRRR-HH24:MI')) BEGIN
RAISE_APPLICATION_ERROR (-20001,
'You can only change my data between 06:00 and 12:00 ! ');
END;
update condition
set name='abc', description='xyz'
where condition_id=1;