Hi,
select Associate_ID as assid,IsActive,value from
[CentralRepository].[dbo].[vw_CentralRepository_Associate_Details] AP
inner join [CentralRepository].[dbo].[vw_CentralRepository_Contacts] CAD
ON CAD.[Associate_ID]=AP.[Associate_ID]
In that Query, there is no problem. AssociateID Column sholud appear in both tables. So, while fetching the You have to specify the tablename or alias name of the table. Pls, Use the Below Query,
select CAD.Associate_ID as assid,IsActive,value from
[CentralRepository].[dbo].[vw_CentralRepository_Associate_Details] AP
inner join [CentralRepository].[dbo].[vw_CentralRepository_Contacts] CAD
ON CAD.[Associate_ID]=AP.[Associate_ID]
OR
select AP.Associate_ID as assid,IsActive,value from
[CentralRepository].[dbo].[vw_CentralRepository_Associate_Details] AP
inner join [CentralRepository].[dbo].[vw_CentralRepository_Contacts] CAD
ON CAD.[Associate_ID]=AP.[Associate_ID]
Regards,
Karunanidhi.K