Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/08/2012, 10:32
pollin14
 
Fecha de Ingreso: marzo-2010
Ubicación: df
Mensajes: 58
Antigüedad: 15 años
Puntos: 5
Update sin usar variables.

Código MySQL:
Ver original
  1.  SET @id = 0;
  2.  select idTema into @id from Tutorias where idTutoria = 1;
  3.  update Temas set autorizado = true where idTema = @id;


¿Podria hacer lo anterior sin usar viariables?
__________________
Dead Nation