Lets say John Smith is in the table 11/7/2012 and 10/7/2012. I want to append the newest date to the file. How would I do that?
update a set
a.date_added = m.date
from append.dbo.[100_K021034571] a
join main.rez.NEWCONNECTS m
on SOUNDEX(a.ln) = SOUNDEX(m.ln)
and SOUNDEX(a.fn) = SOUNDEX(m.fn)
and left(a.addr,10) = left(m.addr,10)
and a.zip = m.zip