I need to update a field of a table that is itself used in the query to determine what to update. The only error I get out of SQL is a general syntax error.
UPDATE tblInvoice_Master SET tblInvoice_Master.PercentSalesTax =
(City = (
tblInvoice_Master AS M
tblAddress ON M.fkBillingAddress = tblAddress.ID AND
M.fkBillingAddress = tblAddress.ID
(M.ID = 622)
I need to update the tax rate for each record in tblInvoice_Master where M.ID = tblInvoice_Master.ID. I used the value 622 to test and make sure that my subquery is returning only one result. Does anyone have any suggestions. I'm clearly making this more complex than it needs to be.