Surendra Sharma

Surendra Sharma

Search This Blog

Thursday, May 13, 2010

Select CASE Statement in SQL


SELECT (CASE chrSexo WHEN 'M' THEN 'Masculino'
         WHEN 'F' THEN 'Femenino'
         END
) AS Sexo
FROM tblDatos


No comments:

Post a Comment