I've just been asked whether there are any efficiency differences between CASE WHEN and DECODE. I'd imagined that they would use the same underlying code but perhaps not. Does anyone know which is more efficient (I realise that CASE is SQL-92 compliant and allows use of IN but excluding this is there any efficiency difference)
Cheers Iain Nicoll -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Nicoll, Iain (Calanais) INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (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).