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 to get column high_value and low_value?

Re: How to get column high_value and low_value?

From: Greg Rahn <greg_at_structureddata.org>
Date: Tue, 16 Oct 2007 18:58:31 -0700
Message-ID: <a9c093440710161858q5ae235e1l5a8633482c4bd545@mail.gmail.com>


You can use dbms_stats.convert_raw_value(). It's probably easiest to wrap this with a function that takes the column and a data type as a string so you can use it directly on your select.

On 10/16/07, Allen, Brandon <Brandon.Allen_at_oneneck.com> wrote:
>
>
> I've googled and metalinked all the key words I can think of and can't find
> any way to extract the actual high and low values for a column since the
> values given in dba_tab_col_statistics are in an internal, raw format.
>
> Can anyone please tell me how to get the number or string values?
>
> I know I can get them out of a 10053 trace file, but I'm hoping there's an
> easier way.
>
> Thanks,
> Brandon

-- 
Regards,

Greg Rahn
http://structureddata.org
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 16 2007 - 20:58:31 CDT

Original text of this message

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