LOADCLOBFROMFILE

从文件读取CLOB数据

声明

DBMS_LOB.LOADCLOBFROMFILE (
   dest_lob       IN OUT NOCOPY   NOCOPY CLOB ,
   src_bfile      IN              BFILE,
   amount         IN              BIGINT,
   dest_offset    IN OUT          BIGINT,
   src_offset     IN OUT          BIGINT,
   bfile_csid     IN              NUMBER,
   lang_context   IN OUT          INTEGER,
   warning        OUT             INTEGER);

结构

参数 说明
dest_loc 目的定位器
src_bfile 文件路径
amount 字节数目(建议使用DBMS_LOB.LOBMAXSIZE获取
dest_offset 定位器偏移(输入)写完之后的偏移量(输出)
src_offset 文件偏移量(输入)读完之后的偏移量(输出)
bifile_csid 字符集id(BFILE)文件来源(建议0)
lang_context 赋值dbms_lob.default_lang_ctx即可建议(0)
warning 警告信息建议(0)