Hello,
i'm having a problem with CASE statement...
How can i use PARAMETER inside CASE?
Example(DB2):
SELECT ( CASE ARAMETER
WHEN 'N' THEN 'CODE 1'
WHEN 'P' THEN 'CODE 2'
WHEN 'R' THEN 'CODE 3'END) As Vsota,
...
...
FROM
...
...
WHERE
...
...
hope that u can help me ...
i'm having a problem with CASE statement...
How can i use PARAMETER inside CASE?
Example(DB2):
SELECT ( CASE ARAMETER
WHEN 'N' THEN 'CODE 1'
WHEN 'P' THEN 'CODE 2'
WHEN 'R' THEN 'CODE 3'END) As Vsota,
...
...
FROM
...
...
WHERE
...
...
hope that u can help me ...