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: 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: Vijay Vardhineni <vardhineni_at_worldnet.att.net>
Date: 1997/01/14
Message-ID: <01bc0275$c6a40b40$996893cf@default>#1/1

Try

	SELECT NVL(MAX(LENGTH(name)), 0) name
	FROM your_table_name;
-- 
Vijaya Kumar Vardhineni
Certified Oracle DBA, EDS
Plano, TX

Maxwell MacLeod <max_at_virtualf.com> wrote in article
<32dc1bdc.21148600_at_news.alterdial.uu.net>...

> 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.
>
>
Received on Tue Jan 14 1997 - 00:00:00 CST

Original text of this message

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