ORA-942 reported on dropping a change data capture table
Last updated on APRIL 24, 2014
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 11.1]
Information in this document applies to any platform.
When trying to drop a change table an ORA-00942 is reported as follows
BEGIN DBMS_CDC_PUBLISH.DROP_CHANGE_TABLE('CDCP_CBD','C_ZSZ_CHAR_GOSP_RS_ZSZIK','Y'); END;
BÃºaD w linii 1:
ORA-00942: tabela lub perspektywa nie istnieje
ORA-06512: przy "SYS.DBMS_CDC_PUBLISH", linia 810
ORA-06512: przy linia 1
With Streams tracing enabled and an errorstack on 942 set as follows
results in the following being reported
Streams : knlcfdrl
error 942 while looking up the Streams tables.
with the following stack
kkzugekdl_int <- kkzugekdl <- kntsSetTrigger <- knlcfdrl
The problem is caused by private synonyms which have the same names as the CDC change tables in the staging database.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms