Hello I have the query below in SQL Server 2005
UPDATE InMwhBad INNER JOIN InMwhGood ON InMwhBad.[Item #] = InMwhGood.[Item #] SET InMwhBad.[Bin Location] = [InMwhGood].[Bin Location]
WHERE (("where warehouse"="RA"));
I am trying update the records in the InMwhBad table with the records in the InMwhGood table with the same Item# and warehouse location = RA
When I run the above query I get
Error Source:.Net SqlClient Data Provider
Error Source: Incorrect syntax near the keyword 'INNER'
Stumped
UPDATE InMwhBad INNER JOIN InMwhGood ON InMwhBad.[Item #] = InMwhGood.[Item #] SET InMwhBad.[Bin Location] = [InMwhGood].[Bin Location]
WHERE (("where warehouse"="RA"));
I am trying update the records in the InMwhBad table with the records in the InMwhGood table with the same Item# and warehouse location = RA
When I run the above query I get
Error Source:.Net SqlClient Data Provider
Error Source: Incorrect syntax near the keyword 'INNER'
Stumped