和sqlserver 一样,可以通过脚本来实现

目前有两种方法来实现:

1>通过dba_tab_columns来实现

select *
from   dba_tab_columns
where  table_name='your table name' --你自己的表名
and    owner = 'your owner'

如果不确定owner, 可以先把owner的条件去掉

 2> 通过col来实现

 select * from col t where t.tname = 'your table name'--你自己的表名

 

参考:

http://oracle.ittoolbox.com/documents/column-count-in-oracle-table-18349
 

相关文章:

  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-29
  • 2022-12-23
  • 2021-07-27
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
相关资源
相似解决方案