Enable All Compilation Warnings Using the DBMS_WARNING Package
CALL DBMS_WARNING.SET_WARNING_SETTING_STRING ('ENABLE:ALL', 'SESSION')
Statement processed.
CREATE OR REPLACE PACKAGE trans_data AUTHID DEFINER AS
TYPE Transrec IS RECORD (
accounttype VARCHAR2(30) ,
ownername VARCHAR2(30) ,
balance REAL
);
min_balance constant real := 10.0;
PRAGMA DEPRECATE(min_balance , 'Minimum balance requirement has been removed.');
insufficient_funds EXCEPTION;
PRAGMA DEPRECATE (insufficient_funds , 'Exception no longer raised ');
END trans_data;
Warning: PACKAGE TRANS_DATA Line: 8 PLW-06019: entity MIN_BALANCE is deprecated Line: 10 PLW-06019: entity INSUFFICIENT_FUNDS is deprecated Line: 0 PLW-05021: exception INSUFFICIENT_FUNDS does not have a pragma EXCEPTION_INITMore Details: https://docs.oracle.com/error-help/db/ora-20001