How can you tell which columns are unused in ALL_TAB_COLS?

Posted by thecoop on Stack Overflow See other posts from Stack Overflow or by thecoop
Published on 2010-06-01T11:12:48Z Indexed on 2010/06/01 12:43 UTC
Read the original article Hit count: 193

When you query the ALL_TAB_COLS view on Oracle 9i, it lists columns marked as UNUSED as well as the 'active' table columns. There doesn't seem to be a field that explicitly says whether a column is UNUSED, or any view I can join to that lists the unused columns in a table. How can I easily find out which are the unused columns, so I can filter them out of ALL_TAB_COLS?

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about columns