SELECT table_name FROM User_Tab_Columns导入记录集

解决方案 »

  1.   

    select * from all_tables
      

  2.   

    找oracle的相关数据字典表:
    以 user_ 开头的
       all_ 开头的
       dba_ 开头的
      

  3.   

    SQL> desc dept;
     名称                                      空?      类型
     ----------------------------------------- -------- ---------------------
     DEPTNO                                    NOT NULL NUMBER(2)
     DNAME                                              VARCHAR2(14)
     LOC                                                VARCHAR2(13)SQL> col tname format a10
    SQL> col cname format a10
    SQL> select tname,cname,coltype,width from col where tname=upper('dept');TNAME      CNAME      COLTYPE                   WIDTH
    ---------- ---------- -------------------- ----------
    DEPT       DEPTNO     NUMBER                       22
    DEPT       DNAME      VARCHAR2                     14
    DEPT       LOC        VARCHAR2                     13SQL>