RosettaCodeData/Task/Exceptions/PL-pgSQL/exceptions-1.sql
2015-11-18 06:14:39 +00:00

4 lines
103 B
SQL

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