So we had a bit of an issue where an entire tables unique "CRC" was set to "N/A", luckily we have another table that stored multiple versions of "CRC" and if we use this we should be able to pull back the original "CRC"s
my basic concept is
UPDATE Table1
SET Table1.CRC = History.CRC
FROM Table1 JOIN History ON Table1.PhoneNum = History.PhoneNum
where Table1.field2 = 'Uniquefield2 here'
The problem with this is I don't know what CRC's are being pulled
I want to pull the newest History.crc based on the column "calldatetime" and update Table1.CRC with this value
Source of query above Update table based on all values in another table as parameters