-
-
Save patriciovergaratobar/c9799701a322f3aee5ab1093144a4fde to your computer and use it in GitHub Desktop.
MySQL: Eliminar o Actualizar de forma masiva
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
-- Eliminar o Actualizar de forma masiva | |
SET SQL_SAFE_UPDATES=0; | |
UPDATE tablename SET columnname=1; | |
DELETE FROM tablename; | |
SET SQL_SAFE_UPDATES=1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment