和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
 

posted on 2011-03-25 10:17  蔡春升  阅读(653)  评论(0编辑  收藏  举报