Ver Mensaje Individual
  #2  
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
A ver, intenta algo así:

Código SQL [-]
update ARTICULOS
inner join ITEMS on ARTICULOS.FK_ITEMS = ITEMS.ID
set CODIGO_SEGUNDO = 'X'
where (ITEMS.CODIGO= 'AL494J' or ITEMS.CODIGO='F494P')

Así sería en MySQL. Crucemos los dedos porque también lo sea en Firebird.

// Saludos
Responder Con Cita