我用plsql操作,每天提取很对数据,数据量都在100万以上,是dbf格式,怎么可以把dbf格式的数据导入orcle?
要操作简单而且快的。
dbf转换成csv格式后,用text import导入,总是不成功。
提示:ORA-00942

解决方案 »

  1.   

    楼上说的都不全,DBF已经转成csv导入,提示:ORA-00942是数据库中没有表,不能导入,需要新建一个空表才能导入数据,但是一张表有三四十个字段,手工创建一张空表不现实。
      

  2.   

    excel只支持6万数据,不能用dbf就只能改用csv或者tsv,是以百万位单位的数据,有三四十个字段
      

  3.   

    SQLloader 快速加载。效率很高
      

  4.   

    C:\Users\hanh>sqlldr help=y
    userid          ORACLE username/password
    control         Control file name
    log             Log file name
    bad             Bad file name
    data            Data file name
    discard         Discard file name
    discardmax              Number of discards to allow
    skip            Number of logical records to skip
    load            Number of logical records to load
    errors          Number of errors to allow
    rows            Number of rows in conventional path bind array or between direct
     path data saves
    bindsize                Size of conventional path bind array in bytes
    silent          Suppress messages during run (header,feedback,errors,discards,pa
    rtitions)
    direct          use direct path
    _synchro                internal testing
    parfile         parameter file: name of file that contains parameter specificati
    ons
    parallel                do parallel load
    file            File to allocate extents from
    skip_unusable_indexes           disallow/allow unusable indexes or index partiti
    ons
    skip_index_maintenance          do not maintain indexes,  affected indexes a
    s unusable
    commit_discontinued             commit loaded rows when load is discontinued
    _display_exitcode               Display exit code for SQL*Loader execution
    readsize                Size of Read buffer
    external_table          use external table for load; NOT_USED, GENERATE_ONLY, EX
    ECUTE
    columnarrayrows         Number of rows for direct path column array
    streamsize              Size of direct path stream buffer in bytes
    multithreading          use multithreading in direct path
    resumable               enable or disable resumable for current session
    resumable_name          text string to help identify resumable statement
    resumable_timeout               wait time (in seconds) for RESUMABLE
    date_cache              size (in entries) of date conversion cache