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: Jack C. Applewhite <japplewhite_at_inetprofit.com>
Date: Wed, 30 May 2001 14:59:10 -0700
Message-ID: <F001.00314AE5.20010530144806@fatcity.com>

Walter,

Investigate the DBMS_LOB supplied package.

The Instr function in that package does exactly what you want.

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com
(512)327-9068

-----Original Message-----
Sent: Wednesday, May 30, 2001 5:30 PM
To: Multiple recipients of list ORACLE-L

I've been through the documentation on LOBs but am still stuck trying to figure out how to interrogate the contents of a BLOB.

We have a table with a BLOB column in it. All it contains in text data (i.e. memo notes). Why it was created as a BLOB and not a CLOB is unknown to me and done before I was hired. All I need to do is determine if a particular string ('.com') pattern exists in the column, within the first 75 bytes, and return its starting position.

Would someone help me out? Thanks!
-w

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack C. Applewhite
  INET: japplewhite_at_inetprofit.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 Wed May 30 2001 - 16:59:10 CDT

Original text of this message

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