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

Home -> Community -> Mailing Lists -> Oracle-L -> urgent please

urgent please

From: Viraj Luthra <viraj999_at_lycos.com>
Date: Thu, 09 Aug 2001 17:50:16 -0700
Message-ID: <F001.003668F6.20010809173533@fatcity.com>

Hello all,

I need to select 100 chars. at a time of a field which is say 1000 chars. long.

if i do
select substr(field, 1,100), substr(field, 101,200) ...

it doe snot work, it select the frist 100 chars. all right, but the next 100 characters are not exact, it takes a few chars from the first 100, and some from the last 100 (the 300th one).

Can I not get the exact 100 chars. out of 1000 varchar2 field? or am i doing some thing wrong.

rgds,

raja

Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--

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

Author: Viraj Luthra
  INET: viraj999_at_lycos.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 Aug 09 2001 - 19:50:16 CDT

Original text of this message

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