I have the next sentence:
SELECT E.Nombre,GN3Pruebas.dbo.Empleado.DirectorioActivo
FROM Intranet.dbo.Empleado E
INNER JOIN GN3Pruebas.dbo.Empleado ON GN3Pruebas.dbo.Empleado.CodigoGN2=Intranet.dbo.Empleado.IdEmpleado
and GN3Pruebas.dbo.Empleado.IdEmpleado=5075
And I have the next mistake:
Mens. 4104, Level 16, State 1, Line 4 The multi-part identifier "Intranet.dbo.Empleado.IdEmpleado" could not be bound. Why?. Thanks so much