Untitled

 avatar
unknown
plain_text
9 months ago
243 B
6
Indexable
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;
/
Editor is loading...
Leave a Comment