Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Store and retrieve image from bfile in Oracle 8.1.7.4

Store and retrieve image from bfile in Oracle 8.1.7.4

From: Liu, Jack <jliu_at_atla.com>
Date: Fri, 11 Jul 2003 09:19:24 -0800
Message-ID: <F001.005C4610.20030711091924@fatcity.com>


Hi,
I use Oracle 8.1.7.4 to store some images with bfile. After I created a directory in DB with "create or replace directory MY_FILES as '/mydir' " and insert one image file with dbms_lob.loadfromfile(), then I found I don't need to insert other images in that directory. I can retrieve and display them in Web with dbms_lob.read() after I put some new images in that directory, whatever the size, format (gif or jpg), even pdf (as long as I use owa_util.mime_header to set mime type). My question is: is this fine? I don't need to use ORDSYS.ORDImage and set properties for them?

Thanks,

Jack

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Liu, Jack
  INET: jliu_at_atla.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jul 11 2003 - 12:19:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US