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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to