I am having an issue to create Trigger I am attaching a photo of my cmd bellow
This is my code
CREATE OR REPLACE TRIGGER display_salary_changes
BEFORE DELETE OR INSERT OR UPDATE ON customers
FOR EACH ROW
WHEN (NEW.ID > 0)
DECLARE
sal_diff number;
BEGIN
sal_diff := :NEW.salary - :OLD.salary;
dbms_output.put_line('Old salary ' || :OLD.salary);
dbms_output.put_line('New salary ' || :NEW.salary);
dbms_output.put_line('Salary difference ' || :sal_diff);
END;
/
ERROR
ORA-04089: cannot create triggers on objects owned by SYS
what will be the possible solution for this or what will I do now please give me some suggestion