Oracle数据库中某张表的字段个数

Oracle中查询某个表的总字段数
select count(column_name) from user_tab_columns where table_name='T_B_AUDITOR'

通过大致查看:
select   tname,count(*)   from   col   group   by   tname;

猜你喜欢

转载自weitao1026.iteye.com/blog/2338137