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: How to select data from a LONG datatype

RE: How to select data from a LONG datatype

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Fri, 20 Jul 2001 06:45:18 -0700
Message-ID: <F001.0034FD1D.20010720055543@fatcity.com>

Ketan,

CONTAINS() is an Intermedia operator and will blow an error if no Intermedia index exists on the column that is indexed. 

Rodd, unfortunately I think you'll have to resort to PL/SQL.  You'd have to split the LONG field into the 32K varchar2 chunk and substr() it. We are making the (possibly wrong) assumption that any view definition is less than 32K long.  Metalink goes on to say that you can manipulate the full length of a long via JDBC (note 123009.1) and Pro*C (1007848.6).  I claim ignorance on both

I know this isn't good news and it's possible that others on the list have a better idea.

Lisa Koivu
Lawn Maintenance Technician (and DBA)
Ft. Lauderdale, FL, USA

-----Original Message-----

From:   Ketan Patel [SMTP:ketanfororacle_at_yahoo.com]
Sent:   Friday, July 20, 2001 2:01 AM
To:     Multiple recipients of list ORACLE-L
Subject:        Re: How to select data from a LONG datatype

Hi,
For long data type in selection use "contains" instead of like. Before this set environment for sql*plus like "  set long 5000 ".


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ketan Patel
  INET: ketanfororacle_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 Fri Jul 20 2001 - 08:45:18 CDT

Original text of this message

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