Insert image Internal Error [message #221208] |
Sun, 25 February 2007 07:41 |
simple_ora
Messages: 50 Registered: September 2006 Location: UAE
|
Member |
|
|
Hi Guys
I am trying to insert a Pict file to the database
code is
eclare
l_blob blob;
l_bfile bfile;
begin
insert 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;
I am getting internal error in dbms_lob.fileopen( l_bfile );
Why it is...?
Thanks & Regards
Shefeeq
|
|
|
|
|