ORA-942 reported on dropping a change data capture table
Last updated on APRIL 24, 2014
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 to 188.8.131.52 [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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms