2.3.50 DROP QUEUE TABLE

Table of Contents Previous Next


2 The SQL Language : 2.3 SQL Commands : 2.3.50 DROP QUEUE TABLE

Advanced Server includes extra syntax (not offered by Oracle) with the DROP QUEUE TABLE SQL command. This syntax can be used in association with DBMS_AQADM.
DROP QUEUE TABLE-- drop a queue table.
Use DROP QUEUE TABLE to delete a queue table:
DROP QUEUE TABLE [ IF EXISTS ] name [, ...]
[CASCADE | RESTRICT]
DROP QUEUE TABLE allows a superuser or a user with the aq_administrator_role privilege to delete a queue table.
Include the IF EXISTS clause to instruct the server to not return an error if the queue table does not exist. The server will issue a notice.
Include the CASCADE keyword to automatically delete any objects that depend on the queue table.
Include the RESTRICT keyword to instruct the server to refuse to delete the queue table if any objects depend on it. This is the default.
The following example deletes a queue table named work_order_table and any objects that depend on it:

2 The SQL Language : 2.3 SQL Commands : 2.3.50 DROP QUEUE TABLE

Table of Contents Previous Next