Decode Vs Case: context switching?
523861Feb 20 2008 — edited Feb 20 2008So I was told recently that among other reasons, CASE is "better" than Decode in SQL statements because Decode context switches to PL/SQL to perform the checks.
I can't find anything in the documentation to support this.
this site here:
http://www.dba-oracle.com/oracle_news/2005_11_23_case_decode_machinations.htm
mentions that one of the disadvantages of decode is that it's post-retrieval, but it also seems to mention that so is CASE.
anyone have any idea where someone may have got the "context switching" idea from?