Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

SIMPLE UPDATE INNER JOIN PROBLEM FIX

Posted on 2001-06-21
2
Medium Priority
?
236 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 200 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

580 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