Ver Mensaje Individual
  #4  
Antiguo 24-06-2008
[basti] basti is offline
Miembro Premium
 
Registrado: ago 2004
Posts: 388
Reputación: 20
basti Va por buen camino
Según entiendo o es NULL el campo en la tablaA o es NULL en la TablaB. Podrías probar con una union:
Código SQL [-]
  select CampoA, NULL as CampoB from TablaA
  where CampoA is not null 
  union 
  select NULL as CampoA, CampoB from TablaB
  where CampoB is not null
__________________
Saludos.
Responder Con Cita