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: Best practice question: Updating Aggregates

Re: Best practice question: Updating Aggregates

From: <joel-garry_at_home.com>
Date: 7 Oct 2005 14:36:48 -0700
Message-ID: <1128721008.807112.282860@z14g2000cwz.googlegroups.com>


CK wrote:

>Pros: Grouping logic and aggregation is done in SQL, not PL/SQL.

Note that Tom Kyte points out (
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:6407993912330 among others ) "Never do procedurally that which can be done in a single sql statement."

> "OPTIMIZE LAST"
You really need to read these first:
http://tkyte.blogspot.com/2005/10/next-book-part-ii.html http://tkyte.blogspot.com/2005/09/most-incredible-statement-i-heard-this.html

jg

--
@home.com is bogus.
"I cannot even REMOTELY reproduce this at all." - Tom Kyte
Received on Fri Oct 07 2005 - 16:36:48 CDT

Original text of this message

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