首先连接那个用户
connect scott/tiger
使用
select * from tab
select * from user_tables
都可以,查看每张表的字段数你只能使用
desc tablename
了,而且的每张表都做一次,对于记录数,使用
select count(*) from tablename
就行了,这也是每张表做一次,如果希望一次查处,就的自己编写PL/SQL程序了

解决方案 »

  1.   

    对于查看每个表的字段数,使用select count(column_name),table_name from cols group by table_name;
      

  2.   

    字段信息:select * from user_tab_columns
      

  3.   

    怎么样看到Oracle某个用户下有多少张表
    ------------------------------
    select count(*) from user_tables where owner='USER_NAME';
      

  4.   

    select TABLE_NAME,count(column_name)  from user_tab_columns where owner='USER_NAME' group by table_name