Solved

SIMPLE UPDATE INNER JOIN PROBLEM FIX

Posted on 2001-06-21
2
174 Views
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
0
Comment
Question by:bostonroxx
2 Comments
 
LVL 18

Accepted Solution

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

Author Comment

by:bostonroxx
Comment Utility
Thanks again
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 HA Cluster, Utility Controller No Data 11 56
Need Counts 11 40
SQL Server 2012 Row Selection 2 29
Test a query 23 11
I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now