Last active
November 17, 2015 09:19
-
-
Save mrroot5/316c4b3b3aae204ac4ec to your computer and use it in GitHub Desktop.
Actualizar un campo en base a una fecha.
This file contains 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 `tabla` SET `campo_actualizar` = 0 WHERE `campo_fecha` < NOW() AND `campo_fecha` != '0000-00-00 00:00:00' AND `campo_fecha` IS NOT NULL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment