I have a query that was originally sqllight that I am trying to translate to MS sql server . fairly simple one but SQL Server doesnt like the line
CASE accoun