Solved

SIMPLE UPDATE INNER JOIN PROBLEM FIX

Posted on 2001-06-21
2
217 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
[X]
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
2 Comments
 
LVL 18

Accepted Solution

by:
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'
0
 

Author Comment

by:bostonroxx
ID: 6216125
Thanks again
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

724 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