I created a table with an invisible column:
CREATE C39293.JUNK (
id NUMBER,
JUNKCOL VARCHAR2(50) INVISIBLE
);
Verified that the table was created :
select * from all_tab_columns where table_name = 'JUNK'
Output:
1 THE_OWNER_SCHEMA JUNK JUNKCOL VARCHAR2 50 Y (WideMemo) CHAR_CS 50 NO NO 50 B NO YES NONE NO NO
2 THE_OWNER_SCHEMA JUNK ID NUMBER 22 Y 1 (WideMemo) NO NO 0 NO YES NONE NO NO
I expected this view to show me all invisible columns it did not.
select * from dba_unused_col_tabs;
No Records found
How do I query all the invisible columns in the database?