Oracle Fine-Grained Auditing (Oracle FGA)

Today my first time using Oracle Fine-Grained Auditing. Why do I need to use Oracle Fine-Grained Auditing? This is because there is a table that is accessed by many procedures, triggers and packages. So that in case of deletion, I can not track from which the “DELETE” order came from. I’ve tried using a trigger [...]

How to exit from a procedure in Oracle

To exit from function is easy, just put “RETURN” CREATE OR REPLACE FUNCTION MIS.FC_GET_ACCRUAL_COM(VAGR IN VARCHAR2) RETURN NUMBER IS VNUM NUMBER; BEGIN SELECT AGR INTO VNUM FROM TAGR WHERE AGR = ‘AA’; IF VNUM = 0 THEN RETURN 1; ELSE RETURN 2; END IF; RETURN VNUM; EXCEPTION WHEN OTHERS THEN RETURN 0; END; / To [...]

Follow

Get every new post delivered to your Inbox.