negative_exception
Sun May 26 2024 17:44:53 GMT+0000 (Coordinated Universal Time)
Saved by
@signup
declare
neg exception;
s employee.empno%type:=&empno;
begin
if (s<0) then
raise neg;
else
dbms_output.put_line('record inseted');
end if;
exception
when neg then
dbms_output.put_line('negative number ');
end;
/
content_copyCOPY
Comments