SELECT *
INTO new_table_name [IN externaldatabase]
FROM old_tablename
Update from one table into another
UPDATE
Sales_Import
SET
AccountNumber = RAN.AccountNumber
FROM
Sales_Import SI
INNER JOIN
RetrieveAccountNumber RAN
ON
SI.LeadID = RAN.LeadID
more...
No comments:
Post a Comment