【发布时间】:2017-03-09 00:11:38
【问题描述】:
我正在尝试使用 SQL 加载器将值加载到其中一列是 BFILE 的表中。
我的桌子是这样的:
create table documents
( id number primary key
, text bfile)
这是我的 CTL 和 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 命令时,我收到了错误消息:
SQL*Loader-350:第 7 行的 Suntax 错误。
期待“,”或“)”,找到“bfilename”。
, text bfilename('MY_DIRECTORY', 'my_file.txt') terminated by eof) ^
是我做错了什么还是 SQL 加载器不接受 BFILE?
谢谢,
【问题讨论】:
-
对不起,我发错信息时出错了
标签: oracle sql-loader bfile