Update table1 Set Date1=(Select top 1 max(Date) from table2 where Id=", Id
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)