Hello,
What is the right syntax for this query in MS-SQL 2005?
select case app.NAMED_USER
WHEN app.NAMED_USER > 50 AND app.NAMED_USER <=0 THEN 4
WHEN app.NAMED_USER > 500 THEN 9
WHEN app.NAMED_USER > 500O THEN 12
FROM APPLICATION app
WHERE app.NAME LIKE '%application 5%'
i get a error message below, which I can not decipher.. I presume, it involves the variable type or the syntax to use with operands.
I hope someone can help.
Greetings,
hein