Created
October 30, 2013 11:17
-
-
Save csalgueiro/7230963 to your computer and use it in GitHub Desktop.
insertar o actualizar valores multiples
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
| INSERT INTO contents_languages ( | |
| id_content, | |
| id_language, | |
| friendly, | |
| title, | |
| abstract, | |
| text, | |
| place | |
| ) | |
| VALUES | |
| (29,'es','prueba_uploads','prueba uploads...','Nullam ','<div>Lorem ipsum dolor sit </div>','Lugar'), | |
| (29, 'en', '_', '', '', '', ''), | |
| (29, 'fr', '_', '', '', '', '') | |
| ON DUPLICATE KEY UPDATE | |
| friendly = VALUES(friendly), | |
| title = VALUES(title), | |
| abstract = VALUES(abstract), | |
| text = VALUES(text), | |
| place = VALUES(place); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment