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: What are the #'s in where n.statistic# = b.statistic#?

Re: What are the #'s in where n.statistic# = b.statistic#?

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: 2000/03/15
Message-ID: <38CF9A83.6C73@yahoo.com>#1/1

Ken Sproule wrote:
>
> Thanks for everyone's help!
>
> This is a code snippet from Oracle's DBA Handbook CD. I have looked
> everywhere and can't determine what the #'s in this table creation
> statement are doing. Any one know?
>
> create table stats$stats as
> select e.value-b.value change , n.name
> from v$statname n , stats$begin_stats b , stats$end_stats e
> where n.statistic# = b.statistic# and n.statistic# =
> e.statistic#;
>
> Best,
>
> Ken Sproule
> kenmn_at_tds.net
>
> Ken Sproule
> kenmn_at_tds.net

They are simply the column names - if you DESCRIBE any of the tables you will find that the columns contain the #.

I think Oracle puts them there to make them harder to type :-)

HTH

-- 
===========================================
Connor McDonald
http://www.oracledba.co.uk

We are born naked, wet and hungry...then things get worse
Received on Wed Mar 15 2000 - 00:00:00 CST

Original text of this message

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