I have two tables. TableA and TableB.
TableA holds a varbinary(max) column - named [BinaryA]
TableB holds a column (named \"Volume\", type \"Long\") that contains each varbi
UPDATE tableB
SET [volume] = (SELECT RetrieveAccountNumber.AccountNumber
FROM RetrieveAccountNumber
WHERE tableB.leadid =RetrieveAccountNumber.LeadID)
WHERE Sales_Import.leadid = (SELECT RetrieveAccountNumber.LeadID
FROM RetrieveAccountNumber
WHERE tableB.leadid = RetrieveAccountNumber.LeadID)