How to add pictures into oracle database through Forms 6i

Questions by sreenivaskdr

Showing Answers 1 - 1 of 1 Answers

merve

  • Aug 2nd, 2006
 

declare

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;

/

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions