Skip to content

Instantly share code, notes, and snippets.

@ryanthames
Created April 1, 2016 14:49
Show Gist options
  • Save ryanthames/94c44369259272adb0e7f774089721d2 to your computer and use it in GitHub Desktop.
Save ryanthames/94c44369259272adb0e7f774089721d2 to your computer and use it in GitHub Desktop.
select column_name, avg_col_len, num_distinct, num_nulls
from all_tab_columns
where table_name = '<<table name>>'
order by column_id desc;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment