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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to obtain only xx char

Re: How to obtain only xx char

From: gazzag <gareth_at_jamms.org>
Date: 7 Jul 2006 07:03:09 -0700
Message-ID: <1152280989.158883.293190@s53g2000cws.googlegroups.com>


Identity wrote:
> Hi! I've a field varchar2(100)... how can I obtain only the from 4th to
> 7th char??
>
> Thanks

Look up the SUBSTR function in your SQL Reference manual. That will do what you want.

http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/functions162.htm#i87066

HTH -g Received on Fri Jul 07 2006 - 09:03:09 CDT

Original text of this message

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