Untitled

mail@pastecode.io avatar
unknown
plain_text
15 days ago
243 B
3
Indexable
Never
create or replace trigger mark_check
    before delete on students
    for each row
  declare
    c number:=120;
  begin
    if :old.marks > c then
       raise_application_error(-20002, 'Maximun mark exceeded');
    end if;
  end;
/
Leave a Comment