Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/01/2014, 16:03
Avatar de EderBarriosCamargo
EderBarriosCamargo
 
Fecha de Ingreso: marzo-2013
Mensajes: 55
Antigüedad: 11 años, 11 meses
Puntos: 0
Respuesta: Update select al mismo tiempo

Cita:
Iniciado por GeriReshef Ver Mensaje
Prueba esta instrucción:
Código SQL:
Ver original
  1. UPDATE personas
  2. SET nombre='Ronal'
  3. Output  Deleted.Nombre,
  4.         Inserted.Nombre,
  5.         Inserted.Apellido
  6. WHERE id='1';
No entendi, ps alli los actualizas y como seria para seleccionar los datos?.