$ 0 0 Quickly answered the question Usar CASE en funciones escalares de sql server 2008 in the SQL Server Forum.