Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Question on Proper Use of EXISTS

Re: Question on Proper Use of EXISTS

From: Arno Noordover <anoordover_at_yahoo.com>
Date: Sat, 31 Mar 2001 21:40:08 +0200
Message-ID: <9a5b7o$15t7$1@buty.wanadoo.nl>

This wouldn't be a good thing to do if the select statement might return more than one row. If it does you are only interested in the fact wether or not one or more rows are found or none are found. This select statement tells you too much (the exact number of rows). A better solution would be to declare a cursor and fetch or use an exists statement. Received on Sat Mar 31 2001 - 13:40:08 CST

Original text of this message

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