我正在尝试使用 SQL Loader 将值加载到其中一列是 BFILE 的表中。
我的表如下所示:
create table documents
( id number primary key
, text bfile)
这是我的 CTL 和 DAT 文件:
加载器.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)
加载器.dat
3;my_file.txt
当我使用上面的参数执行 sqlldr 命令时,我收到了错误消息:
SQL*Loader-350:第 7 行的 Suntax 错误。
期待“,”或“)”,找到“bfilename”。
, text bfilename('MY_DIRECTORY', 'my_file.txt') terminated by eof) ^
我做错了什么还是 SQL Loader 不接受 BFILE?
谢谢,