Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to execute a buit-in package's procedure?

Re: How to execute a buit-in package's procedure?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 8 May 2002 23:04:02 +0200
Message-ID: <udj4s8iigj3141@corp.supernews.com>

"Bill" <bill200_at_hotmail.com> wrote in message news:KTeC8.5802$q76.584410_at_news20.bellglobal.com...
> I tried to grant a system privilege ADMINISTER RESOURCE MANAGER to user
> scott.
> I used the DBMS_RESOURCE_MANAGER_PRIVE package to do the job. According to
> the Oracle8.1.6 manual, I used the following command :
>
> EXEC DBMS_RESOURCE_MANAGE_PRIVS.GRANT_SYSTEM_PRIVILEGE
> (Grantee_nmae => 'SCOTT',
> PRIVILEGE_NAME => 'ADMINISTER_ RESOURCE_ MANAGER',
> Admin_Option = False );
> But the command won't work. It seems there is no such an EXEC command in
> Oracle server, but it appears every where in the manuals. Any help,
please.
>
> Bill
>
>
>

execute is a -Sql*PLus- shortcut for begin ... end;

Hth

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Wed May 08 2002 - 16:04:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US