SimonT
2010-03-30 17:49:53 UTC
Hi Guys,
I need to re-write this update in SQL, this is the SQL taken from my Access
system that I am upgrading to a SQL BE
UPDATE tblgoodsinlineitems
INNER JOIN products
ON tblgoodsinlineitems.productID = products.productID
SET products.cost = [tblgoodsinlineitems].[cost];
When I try this is SQL I get this error message:
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'INNER'.
Do I need to include the scheme as part of the update?
Sorry to cross post but unsure which is best forum to post this question on
Thanks
Si
I need to re-write this update in SQL, this is the SQL taken from my Access
system that I am upgrading to a SQL BE
UPDATE tblgoodsinlineitems
INNER JOIN products
ON tblgoodsinlineitems.productID = products.productID
SET products.cost = [tblgoodsinlineitems].[cost];
When I try this is SQL I get this error message:
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'INNER'.
Do I need to include the scheme as part of the update?
Sorry to cross post but unsure which is best forum to post this question on
Thanks
Si