外部表预处理器不起作用

时间:2018-07-17 00:29:41

标签: oracle plsql plsqldeveloper external-tables plsql-package

-在sql developer oracle 12G中,预处理器显示为错误

CREATE TABLE WPP_EXT (
    ACCOUNT_ID  VARCHAR2(50),
    SER_NUM     VARCHAR2(100)
)
ORGANIZATION EXTERNAL (
  TYPE ORACLE_LOADER
  default directory EXT_DIR
  access parameters (
      RECORDS DELIMITED BY NEWLINE
      PREPROCESSOR EXEC_DIR: 'firstfilerename.bat'
    NOLOGFILE
    skip 1
    FIELDS TERMINATED by ',' 
           ( 
            ACCOUNT_ID, 
            DUMMY,
           DUMMY,
            SER_NUM
          )
  )
  LOCATION ('data_1.csv')
)
reject limit unlimited;

0 个答案:

没有答案