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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How can find out the value with maximum length in the column from dump(col1)?

RE: How can find out the value with maximum length in the column from dump(col1)?

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Fri, 17 Dec 2004 10:41:41 -0500
Message-ID: <5A14AF34CFF8AD44A44891F7C9FF410511E6DE@usahm236.amer.corp.eds.com>


Try select max(length(col)) ... or max(vsize(col))

Note if the column, su_date, is a date datatype then all dates take 7 bytes of storage.

HTH -- Mark D Powell --

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Christian Antognini Sent: Friday, December 17, 2004 1:55 AM
To: oracledbam_at_hotmail.com
Cc: oracle-l_at_freelists.org
Subject: RE: How can find out the value with maximum length in the column from dump(col1)?

Hi

>How can find out the value with maximum length in the column from =
dump(col1)
>out put?
>
>sql >select dump(su_date) from bl;
>there is one dump file.from dump file how can findout which length >7
>thanks

If you are looking for the size in bytes you should give a look to = VSIZE. HTH
Chris

--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 17 2004 - 09:37:42 CST

Original text of this message

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