RosettaCodeData/Task/Exceptions/PL-pgSQL/exceptions-1.sql

5 lines
103 B
SQL

begin
raise exception 'this is a generic user exception';
raise exception division_by_zero;
end;