已存在目錄

執行
create table temptable (name varchar(20) ,id number(4))
organization external
(type oracle_loader default directory dir_test1
access parameters
(
badfile 'bad_dev.txt'
LOGFILE 'log_dev.txt'
records delimited by newline fields terminated by '|'
missing field values are null
)location('ceshi.txt'))
REJECT LIMIT UNLIMITED
顯示create table 成功。
測驗資料ceshi.txt資料如下:
zangsan|20
lisi|30
asdasd
asda|dsadghgggh|ssasdsd
然后打開temptable 表后
ORA-29913: 執行 ODCIEXTTABLEOPEN 調出時出錯
ORA-29400: 資料插件錯誤KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "badfile": expecting one of: "column, fields, records"
KUP-01007: at line 1 column 1
請問是什么原因?
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/112085.html
標籤:開發
下一篇:幫看一個游標回圈的問題
