Re: BFILE & BLOB question (Binary file from the client machine)
From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: Tue, 12 Mar 2002 06:29:23 GMT
Message-ID: <3c8d9d32.63176479_at_news.saix.net>
Date: Tue, 12 Mar 2002 06:29:23 GMT
Message-ID: <3c8d9d32.63176479_at_news.saix.net>
// you can close the file
dbms_lob.fileclose(fil);
// and you can type cast the raw buffer read into
// a varchar2 - assuming of course you have read
// a text file (just be wary of the max size of
// a varchar2 here)
memo := sys.utl_raw.cast_to_varchar2(buf);
Now you know how BFILES work. Right? ;-)
-- BillyReceived on Tue Mar 12 2002 - 07:29:23 CET