DROP QUEUE TABLE v10
Advanced Server includes extra syntax (not offered by Oracle) with the
DROP QUEUE TABLE SQL command. This syntax can be used in association with
DROP QUEUE TABLE -- drop a queue table.
DROP QUEUE TABLE to delete a queue table:
DROP QUEUE TABLE allows a superuser or a user with the
aq_administrator_role privilege to delete a queue table.
The name (possibly schema-qualified) of the queue table that will be deleted.
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.
CASCADE keyword to automatically delete any objects that depend on the queue table.
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: