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: Deadly sins againts database performance/scalability

Re: Deadly sins againts database performance/scalability

From: Marc Blum <blumNOSPAM_at_marcblum.de>
Date: Thu, 27 Nov 2003 22:16:19 +0100
Message-ID: <k2qcsv0ds3tm0qb0fmssn2oipag7bsaod4@4ax.com>


(1)

SELECT DISTINCT ...
(2)

... WHERE <attribute> IN (SELECT DISTINCT ...)

(3)

LOOP
   EXECUTE IMMEDIATE some_sql;
END LOOP;
(4)

SELECT MAX(id) + 1 AS new_id FROM big_table

(5)

WHERE TRUNC(date_attr) = TRUNC(date_variable)

--
Marc Blum
mailto:blumNOSPAM_at_marcblum.de
http://www.marcblum.de
Received on Thu Nov 27 2003 - 15:16:19 CST

Original text of this message

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