select COLUMN_NAME from user_tab_columns where table_name = 'YOUR_TABLE_NAME';
通过上面的语句查询出表当前的列,然后动态组装成sql语句,最后execute immedate搞定