select table_name from user_tables where TABLESPACE_NAME is not null and user='UserName' SELECT table_name, column_name, data_type FROM all_tab_cols WHERE table_name = 'tablename ';
1、_TAB_COLS和_TAB_COLUMNS区别在于,*_TAB_COLS中包含隐藏的列。