oracle 中查询一个表的所有字段名以及属性的sql语句应该怎么写

如题所述

select column_name, data_type, data_length, nullable
  from all_tab_columns
 where table_name = 'table_name'
 order by column_id;

温馨提示:答案为网友推荐,仅供参考
相似回答