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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Working with a BLOB

RE: Working with a BLOB

From: Walter K <alden14004_at_yahoo.com>
Date: Thu, 31 May 2001 06:24:10 -0700
Message-ID: <F001.0031566C.20010531052710@fatcity.com>

Sometimes the obvious isn't obvious...

I had the bulk of the query but was just getting hung up on the "1st 75 bytes" requirement. It never clicked with me that the instr( ) function in the dbms_log package already gave me a position and all I needed to do was simply constrain it with a "between" clause.

The query below won't work with a blob because the data is stored as binary so the '.com' needs to be wrapped in the UTL_RAW.CAST_TO_RAW( ) function first so the datatypes are compatible.

Thanks again!!!!!! :-)
-w


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Walter K
  INET: alden14004_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Thu May 31 2001 - 08:24:10 CDT

Original text of this message

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