Tema: update array
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/07/2014, 08:02
Avatar de hhs
hhs
Colaborador
 
Fecha de Ingreso: junio-2013
Ubicación: México
Mensajes: 2.995
Antigüedad: 10 años, 10 meses
Puntos: 379
Respuesta: update array

usando IN:
Código SQL:
Ver original
  1. UPDATE nombre_tabla SET columna = valor WHERE id IN (1,2)
__________________
Saludos
About me
Laraveles
A class should have only one reason to change.