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

Home -> Community -> Usenet -> c.d.o.misc -> Re: limit characters returned by a select statement

Re: limit characters returned by a select statement

From: Richard Q Woodland <richwoodland_at_magicinterface.com>
Date: Tue, 30 Oct 2001 09:37:46 -0500
Message-ID: <3BDEBB3A.4081B21E@magicinterface.com>


SELECT SUBSTR(mycolumn,1,mylimit) FROM mytable;

For example,

SELECT SUBSTR(ppf.last_name,1,16) FROM per_people_f ppf;

Dave wrote:

> is there a way, through sql, to limit the number of characters
> returned by a sql statement for a given column?
Received on Tue Oct 30 2001 - 08:37:46 CST

Original text of this message

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