Cannot Create Streams Queue (Doc ID 2116242.1)

Last updated on JUNE 14, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Goal

Customer is receiving an ORA-955 trying to create a queue, but cannot drop it;

BEGIN DBMS_STREAMS_ADM.SET_UP_QUEUE(queue_table =>'SDWIS3OH_QT', queue_name => 'SDWIS3OH_Q', queue_user => 'STREAMS_ADMIN'); END;

*
ERROR at line 1:
ORA-00955: name is already used by an existing object
ORA-06512: at "SYS.DBMS_STREAMS_ADM_IVK", line 760
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 269
ORA-06512: at line 1

STREAMS_ADMIN @EPAT1> exec DBMS_AQADM.drop_queue_table('SDWIS3OH_QT',TRUE);
BEGIN DBMS_AQADM.drop_queue_table('SDWIS3OH_QT',TRUE); END;

*
ERROR at line 1:
ORA-24002: QUEUE_TABLE STREAMS_ADMIN.SDWIS3OH_QT does not exist
ORA-06512: at "SYS.DBMS_AQADM", line 388
ORA-06512: at line 1

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms