0

I am trying to update a table (HRBI) with a LEFT JOIN on another table. I am getting a syntax area on the following script:

UPDATE HRBI 
LEFT JOIN REMMINC ON (HRBI.[PayGroupCountryDesc] = REMMINC.[REMCountry]) AND (HRBI.[BusinessLvl1(Group)Code] = REMMINC.[BusinessGroup]);

Is there anything obviously wrong with this? Thanks!

Chris2015
  • 1,030
  • 7
  • 28
  • 42

1 Answers1

1

You currently aren't updating anything.

You need a set condition along the lines of:

UPDATE Table1
SET SomeColumnName = someValue
WHERE SomeCondition = someOtherValue
Ilessa
  • 602
  • 8
  • 27