Friday, May 16, 2008

Example of Case Statement


SELECT CASE :ss
WHEN '1' THEN'one'
WHEN '2' THEN 'two'
ELSE 'default'
END CASE
, 'Example of Case Statement'
FROM DUAL

No comments:

Post a Comment