我正在尝试将值加载到表中,其中一列是使用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