Ver Mensaje Individual
  #10  
Antiguo 05-11-2008
Avatar de mightydragonlor
[mightydragonlor] mightydragonlor is offline
Miembro Premium
 
Registrado: feb 2007
Ubicación: Medellín-Colombia
Posts: 587
Reputación: 20
mightydragonlor Va por buen camino
Estoy utilizando SQL Server 2000,
con esté código no me dá el resultado correcto.
Código SQL [-]
Select t1.* From tabla1 t1 
left join tabla2 t2 on (t1.campo1=t2.campo1 and t1.campo2=t2.campo2 and t1.campo3=t2.campo3)
Where t2.campo1 is null
se que en la tabla1 hay unos 800 registros que no hay en la tabla2
pero solo me devuelve unos 200 registros.
__________________
mas confundido que Garavito el día del Niño.
Responder Con Cita