Re: utl_recomp grants

From: Woody McKay <woody.mckay_at_gmail.com>
Date: Tue, 24 Apr 2018 19:19:35 -0400
Message-ID: <CAAxONsR7FGAr1EyY6AsDHJNfUvp8++c=nWtYoV1087WVUZh3zg_at_mail.gmail.com>



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_at_gmail.com> wrote:

> try this
>
> execute sys.UTL_RECOMP.RECOMP_PARALLEL(4);
>
> 2018-04-24 11:05 GMT+02:00 Suraj ramesh <surajmalliramesh_at_gmail.com>:
>
>> 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.
>>
>
>

-- 
Sincerely,

WoodyMcKay

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 25 2018 - 01:19:35 CEST

Original text of this message