09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Revoking System Privilege<br />

Syntax<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available functions in<br />

each programmatic environment. Use the following syntax references for each<br />

programmatic environment:<br />

PL/SQL (DBMS_AQADM Package): <strong>Oracle</strong>9i Supplied PL/SQL Packages and<br />

<br />

Types Reference, DBMS_AQADM.REVOKE_SYSTEM_PRIVILEGE procedure<br />

Visual Basic (OO4O): There is no applicable syntax reference for this use case<br />

Java (JDBC): There is no applicable syntax reference for this use case<br />

Examples<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available functions in<br />

each programmatic environment. Examples are provided in the following<br />

programmatic environments:<br />

Using PL/SQL (DBMS_AQADM): Revoking System Privilege on page 9-52<br />

VB (OO4O): Example not provided.<br />

Java (JDBC): Example not provided.<br />

Using PL/SQL (DBMS_AQADM): Revoking System Privilege<br />

/* To revoke the DEQUEUE_ANY system privilege from Jones. */<br />

CONNECT system/manager;<br />

execute DBMS_AQADM.REVOKE_SYSTEM_PRIVILEGE(privilege=>’DEQUEUE_ANY’,<br />

grantee=>’Jones’);<br />

9-52 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!