You can create a private synonym for sys.UTL_RECOMP if you don't want to
hardcode sys in your script.
On Tue, Apr 24, 2018 at 5:16 AM, Marián Bednár <marian.bednar@xxxxxxxxx>
wrote:
try this
execute sys.UTL_RECOMP.RECOMP_PARALLEL(4);
2018-04-24 11:05 GMT+02:00 Suraj ramesh <surajmalliramesh@xxxxxxxxx>:
Hello,
DB Version: 12.1.0.2
I am looking whether its possible to run EXECUTE
UTL_RECOMP.RECOMP_PARALLEL() command by any other DB user apart from Sys.
I have tried the below and ended up with error.
grant execute on sys.UTL_RECOMP to TEST;
Connect test/test
EXECUTE UTL_RECOMP.RECOMP_PARALLEL(4);
BEGIN UTL_RECOMP.RECOMP_PARALLEL(4); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Regards
Suraj.