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.
Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful.
Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Why is this different from all of the other step by step guides? Because I make a living as a DBA and not as a writer and I lived through this experience.
Defining the name:
When I talk to people they say different names on this subject stuff l…