Hi, I'm trying the following query but getting a 'Missing Operator' error before the 'FROM' when it's saved.
The table 'Shops' contains a load of shops - each with a postcode. The Postcode_a table contains a list of postcodes which have Northing and Easting values.
I need to pull the northing and easting values into the shops table...
UPDATE Shops SET Shops.Easting=Postcodes_a.Easting, Shops.Northing=Postcodes_a.Northing
FROM Shops
INNER JOIN Postcodes_a.Postcode ON Shops.Postcode
WHERE (Shops.Postcode=Postcode_a.Postcode);
What's wrong with my SQL?
Thanks for your time guys,
D
The table 'Shops' contains a load of shops - each with a postcode. The Postcode_a table contains a list of postcodes which have Northing and Easting values.
I need to pull the northing and easting values into the shops table...
UPDATE Shops SET Shops.Easting=Postcodes_a.Easting, Shops.Northing=Postcodes_a.Northing
FROM Shops
INNER JOIN Postcodes_a.Postcode ON Shops.Postcode
WHERE (Shops.Postcode=Postcode_a.Postcode);
What's wrong with my SQL?
Thanks for your time guys,
D