oracle存储过程操作文件

xiaoxiao2026-09-13  9

declarel_blob blob;l_bfile bfile;begininsert into demo values ( 1, empty_blob() ) returning theBlob into l_blob;l_bfile := bfilename( 'MY_FILES', 'aria.gif' );dbms_lob.fileopen( l_bfile );dbms_lob.loadfromfile( l_blob, l_bfile,dbms_lob.getlength( l_bfile ) );dbms_lob.fileclose( l_bfile );end;/

相关资源:oracle使用存储过程插入文件至数据库操作方法
转载请注明原文地址: https://www.6miu.com/read-5052654.html

最新回复(0)