SQLCODE in Oracle Equivalent to Postgres

Viewed 1860

In Oracle,

WHEN OTHERS THEN
  IF SQLCODE = -31011 THEN

How do I convert the above

IF SQLCODE = -31011 THEN to Postgres as SQLCODE = -31011 is not compatible with Postgres

1 Answers
Related