Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Diff bet'n DECODE and CASE stmt
What is the difference between Decode and Case statements when used in
a SQL query? The two appear to do the same IF-THEN-ELSE logic, I am
not sure how the optimizer treats the two. Any explanation on how the
optimizer uses the two would be super.
Mucho thanks,
Rohit
Received on Wed Feb 11 2004 - 09:48:36 CST
![]() |
![]() |