Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ** SQL WHERE clause order
if :select_sen_emp_chk_first = 'Y' then
select emp_id
into some_variable ...
from emp
where dept = :dept
and salary > :min_sal;
end if;
This might be better ....
Raj
-----Original Message-----
Sent: Tuesday, November 04, 2003 5:45 PM
To: Multiple recipients of list ORACLE-L
Stephane,
Here is my SQL :
SELECT emp_id FROM emp
WHERE :select_sen_emp_chk_first = 'Y'
AND dept = :dept
AND salary > :min_sal
**************************************************************************************5
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 Wed Nov 05 2003 - 06:29:46 CST
![]() |
![]() |