文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>oracle 统计某个表的列数

oracle 统计某个表的列数

时间:2011-03-25  来源:蔡春升

和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  
相关阅读 更多 +
排行榜 更多 +
涂色我贼强安卓版

涂色我贼强安卓版

休闲益智 下载
脑细胞太牛了手机版

脑细胞太牛了手机版

休闲益智 下载
球球的冒险旅途

球球的冒险旅途

休闲益智 下载