我正在嘗試將值加載到表中,其中一列是使用SQL Loader的BFILE。通過SQL加載bfile加載程序
我的表看起來像這樣:
create table documents
(id number primary key
, text bfile)
這裏是我的CTL ADN DAT文件:
loader.ctl
load data
infile d':\test\loader.dat'
into table documents
replace
fields terminated by ';'
(id integer
, text bfilename('MY_DIRECTORY', 'my_file.txt') terminated by eof)
loader.dat
3;my_file.txt
當我執行sqlldr命令機智ħparamters以上,我已收到錯誤消息:
SQL *裝載機-350:Suntax誤差在管線7
期待 「」 或 「)」,找到 「BFILENAME」。
, text bfilename('MY_DIRECTORY', 'my_file.txt') terminated by eof) ^
我做得不對或SQL加載不接受BFILES?
謝謝
對不起,我發佈rhe wrror messege時發生的錯誤 – mikcutu