select table_name from all_tables;

解决方案 »

  1.   

    select table_name from user_tables;
      

  2.   

    select table_name from user_tables;
    select table_name from all_tables;
    select view_name from all_views;
    select view_name from user_views;
      

  3.   

    Select 表名 from tab where tabletype='table';select 视图名 from tab where tabletype = 'view';
      

  4.   

    老大们,你们都是试过了吗?别在那里瞎说。
    举一个能用的例子好不好。
    比如abc用户有一个表,xx;
    怎样写sql语句?
    select abc.xx from tab where tabletype = 'table';试错的;
    error1: abc.xx
    error2: tabletype 是什么东西;
      

  5.   

    就是这个命令呀:
    select * from tab;
      

  6.   

    TableType 是表的类型,分 表(Table) 和 视图(View)abc.xx ?? 是什么?查表是否存在:  select * from tab where TableType = 'TABLE' 要大写.
      

  7.   

    首先确定当前是否有权限connect,select any table_name 等权限,再一步检查是否有此表
    可以在sql*plus下:
    desc xx   --是否有结构在程序中:
    select * from user_talbes where table_name='XX';