Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop a Queue Table

Status
Not open for further replies.

lalleima

Programmer
Feb 13, 2003
11
0
0
IN
HI

How can I drop a Queue Table?

Thanks
 
you must stop and drop all the queues in a queue tables before the queue table can be dropped. You must do this explicitly unless the force option is used in which case this done automatically.

Syntax:
DBMS_AQADM.DROP_QUEUE_TABLE (
queue_table IN VARCHAR2,
force IN BOOLEAN default FALSE,
auto_commit IN BOOLEAN default TRUE);

The operation will not succeed if there are any queues in the table.This is the default.
Make the force as TRUE: All queues in the table are stopped and dropped automatically.

From the PL/SQL :

EXECUTE dbms_aqadm.drop_queue_table (
queue_table => 'aq.Objmsgs_qtab',
force => TRUE);

 
First of all I would like to thank U for Ur Piece of information. I knew we can use this package what I really wanted to know is somthing like.... what is the code of the procedure "DROP_QUEUE_TABLE".

And one more thing I have limited information about QUEUE tables any site where I can have somthing on that.

Thanks Again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top