Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL Update from One Table to Another Based on a ID Match

UPDATE
    Sales_Import SI,
    RetrieveAccountNumber RAN
SET
    SI.AccountNumber = RAN.AccountNumber
WHERE
    SI.LeadID = RAN.LeadID;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #SQL #Update #One #Table #Another #Based #ID #Match
ADD COMMENT
Topic
Name
1+9 =