select count(*) from dba_tables;

解决方案 »

  1.   

    select count(*) from user_tables ;   --当前登陆用户的表数.
      

  2.   

    select count(*) from all_tables
      

  3.   

    1楼:只有拥有DBA权限的人才能查看
    2楼:当前登录用户所拥有的表,应该是楼主所需要的
    3楼:除了能看到2楼所所得所有表以外,还包含了当前登录用户被授予特权的表
      

  4.   

    select count(*) table_cnt from all_tables where owner='XXX';
      

  5.   

    select count(*) from dba_tables
    select count(*) from user_tables