Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

CASE word does not get highlighted by the editor in ALM

$
0
0

Fellow sufferers

 

I am trying to apply condition in my reports, something like:

 

SELECT

 

CASE employee.employmenttype

 

      WHEN  'Hourly' THEN 'N/A'

     WHEN 'Contract' THEN employee.familyname

 

END

 

The CASE word does not get highlighted by the editor in ALM, so apparently it is not a keyword, but from SQL Server forums it seems it is part of SQL.

 

Any experience with conditional in geenral or with CASE in particular? We use SQL Server 2008 as DB.

 

Thanks in advance,

 

Peter Hansen


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>