Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions


Posted on 2001-06-21
Last Modified: 2008-03-06
Hello can anyone tell me the syntax I should use to complete this Update Statement

Update tblOrderDriversExtraCharges
INNER JOIN tblOrderDrivers ON tblOrderDrivers.OrderDriverID = tblOrderDriversExtraCharges.OrderDriverID  Set AccessorialChargeAmount = 0, Drivercompensation = 0  WHERE tblOrderDrivers.OrderNumber='87521'

The Inner Join does not work in SQL Server.  Thanks
Question by:bostonroxx
LVL 18

Accepted Solution

nigelrivett earned 50 total points
ID: 6216080
Update tblOrderDriversExtraCharges
Set AccessorialChargeAmount = 0, Drivercompensation = 0  
from tblOrderDriversExtraCharges INNER JOIN tblOrderDrivers ON tblOrderDrivers.OrderDriverID = tblOrderDriversExtraCharges.OrderDriverID
 WHERE tblOrderDrivers.OrderNumber='87521'

Author Comment

ID: 6216125
Thanks again

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question