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 -> Strange results of aggregate function against view; okay against table

Strange results of aggregate function against view; okay against table

From: Thomas Gaines <Thomas.Gaines_at_noaa.gov>
Date: Mon, 04 Nov 2002 15:57:50 -0700
Message-ID: <3DC6FB6E.4FEB54FA@noaa.gov>


Folks -

I suspect that I may be making a silly mistake, but this is confounding my coworker and me. I'm getting some wrong results when performing an aggregate function on various columns in a view. The same query when executed on a table of the same form and data works as expected.

My database version is 8.1.7.2.1. My OS is Win2000.

Here is a simple test case that illustrates my problem. It works against
the scott.emp and scott.dept tables.


Am I doing something silly here? I'm wondering if I'm missing a hint or

perhaps an init.ora parameter that influences the aggregation functions when executed against a view.

Thanks for your time.

Tom Received on Mon Nov 04 2002 - 16:57:50 CST

Original text of this message

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