Created
January 10, 2011 16:57
-
-
Save phpleo/773040 to your computer and use it in GitHub Desktop.
tsql: actualizar registro con condicional (UPDATE CASE WHEN)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE Proyecto.Proyecto | |
| SET Estado = CASE WHEN EnEjecucion = '1' THEN 'e' ELSE NULL END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment