怎么通过命令查看自己已经创建的表?

解决方案 »

  1.   


    select tname from tab;
      

  2.   

    select tablespace_name,table_name from user_tables 
    where tablespace_name=upper('表所属表空间名字')
      

  3.   

    select table_name from user_tables
      

  4.   


    SELECT table_name FROM USER_TABLES;
      

  5.   

    顶一下
      oracle QQ群:54775466
      欢迎爱好者一起探讨。
      

  6.   

    1.select table_name from user_tables;
      这是查看自己创建的所有表2.select tablespace_name,table_name from user_tables 
      where tablespace_name=表空间的名称
      这是查看在这个表空间下的表注:每个表空间下会有>=1个表
        user_tables视图中会有多个表空间
      

  7.   

    select * from dba_objects where object_type='TABLE'
      

  8.   

    select table_name from user_tables
      

  9.   

    select * from dba_objects where object_type='TABLE' and owner='你的用户名';
    select * from dba_olap_tables where owner='你的用户名' ;
      

  10.   

    desc dba_tables;
    select * from dba_tables where owner='DB_XTWH';
    owner的值一定要大写