oracle查询表结构

  select COLUMN_NAME ,DATA_TYPE FROM user_tab_columns t where t.TABLE_NAME = '表名'
注意表名大写

编程技巧