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 determine the length of the biggest varchar2 column in a table?

Re: How to determine the length of the biggest varchar2 column in a table?

From: N Prabhakar <prabhs_at_po.pacific.net.sg>
Date: 1997/01/15
Message-ID: <5biioi$1t2@newton.pacific.net.sg>#1/1

max_at_virtualf.com (Maxwell MacLeod) wrote:
>Hi,
>does anyone know how to do this? For example, if I had a field "name",
>which is varchar2(2000). One value is "Max" and another "Jeromino", I
>need to know the length of Jeromino.
>
>Any help much appreciated!
>
>Thanks,
>Max.
>

Hi there,

Try the following query

select max(length(column)) from table;

Regards

N.Prabhakar Received on Wed Jan 15 1997 - 00:00:00 CST

Original text of this message

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