DBA_TAB_COMMENTS , ALL_TAB_COMMENTS Contains Entry for Non-existent Table

(Doc ID 2007514.1)

Last updated on MAY 12, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 12.1.0.1 [Release 10.2 to 12.1]
Information in this document applies to any platform.

Symptoms

Performing a query against the dba_tab_comments or all_tab_comments data dictionary view will show a table owned by SYS but the table does not exist in SYS schema. ie. the table is non-existent

If distributed transaction is used in a database, *_tab_comments may return information for tables which exist on remote database.

 

Changes

The data dictionary view DBA_TABLES / ALL_TABLES was queried from a remote database. This affects DBA_TAB_COMMENTS, ALL_TAB_COMMENTS, USER_TAB_COMMENTS

Cause

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