Posted on Tuesday, 8th December 2009 by kwatog
->
Another oracle sql statement that you may need in order to simplify and optimize your code is the use of CASE statement. Here’s how it is being used.
Syntax #1
CASE [ expression ]
WHEN condition_1 THEN result_1
WHEN condition_2 THEN result_2
…
WHEN condition_n THEN result_n
ELSE result
END
Example
SELECT [...]
Posted in Intermediate, Oracle, Oracle PL\SQL Functions | Comments (0)



