oracle 中查询一个表的所有字段名以及属性的sql语句应该怎么写
应该是这样
select *
from dba_tab_columns a
where a.TABLE_NAME ='TABLENAME'
希望能够帮到你。
oracle 中查询一个表的所有字段名以及属性的sql语句应该怎么写
select column_name, data_type, data_length, nullable from all_tab_columns where table_name = 'table_name' order by column_id;