Which is the correct method to implement a local subprogram in an anonymous block?
Which is the correct method to implement a local subprogram in an anonymous block?
To implement a local subprogram in an anonymous block, you need to declare the subprogram within the DECLARE section of the block, followed by the BEGIN section where the subprogram can be called. Option D correctly shows an anonymous block with a declared local subprogram.
D is correct
Not A. In case A returns ORA 06550 PLS-00103: Encountered the symbol "BEGIN"
D is correct
D, TESTED