Cita:
Iniciado por inemart Select *
From vtasclipper.dbo.vtaesp AS V
Left Join BzrProcesos.dbo.Bzr_Rel_FacClientes As RC ON Rc.Cte_Clipper = VE.Cliente
Left Join BackOfficeCatalogos.dbo.CatClientes AS CatClientes ON RC.Cte_Bisoft = CatClientes.Codigo
Where folio ='" & TxtFolio & "' And tipo <> 'C' And Estado = 5 AND Sucursal =" &StrSuc
Bueno porque no lo haces Ordenadamente
Código:
Select *
from TablaA as TA
left join TablaB as TB On TB.Cte_Clipper = TA.Cliente
left join TablaC as TC On TC.Codigo = TB.Cte_Bisoft
Where
T?.Folio = @txtFolio
and T?.Tipo <> 'C'
and T?.Estado = 5
and T?.Sucursal = @StrSuc
Algo asi...
Siempre hay que tratarlo con su respectivo Alias (AS) asi deberia funcionar.