Query as follows,
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]
When i run the above query shows error as follows
Ambiguous column name 'Associate_ID'.
what is the problem in my above query. please help me.
SubashPosted Jul 11, 2016, 3:13 AM
select CAD.[Associate_ID] as assid,IsActive,value
Ravi PatelPosted Jun 2, 2016, 2:28 AM
ali tuncerPosted Jun 2, 2016, 1:38 AM
in your select statement, you will need to use CAD or AP
select CAD.[Associate_ID] as assid,IsActive,value