Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL Joins vs Sub Queries vs Cursors
Usually sub-queries are not the fastest way to do
things.
When a developper is talking about doing things using
cursors the big red light flashes : ho ho 3gl thinking
ahead !
The only way to know for sure is to test them. Do not just check the elapsed time. I've tested 2 scenarios once and they were taking the same time but one was having twice the buffer gets than the other one.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: =?iso-8859-1?q?paquette=20stephane?= INET: stephane_paquette_at_yahoo.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Oct 15 2002 - 09:18:52 CDT