SQL>
SQL> declare
2 l_today date := sysdate;
3 begin
4 Null;
5 exception
6 when others then
7 raise_application_error (-20100, 'error#' || sqlcode || ' desc: ' || sqlerrm);
8 end;
9 /
PL/SQL procedure successfully completed.
SQL>
SQL>