Ver Mensaje Individual
  #4  
Antiguo 25-10-2012
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Entonces intenta esto:

Código SQL [-]
update ARTICULOS
set CODIGO_SEGUNDO = 'X'
where (select CODIGO from ITEMS where ARTICULOS.FK_ITEMS = ITEMS.ID) in  ('AL494J', 'F494P')

// Saludos
Responder Con Cita