Home Forums SQL Server 2014 Development - SQL Server 2014 Finding Max and update RE: Finding Max and update
george_at_sql
SSCommitted
Points: 1967
More actions
March 8, 2018 at 4:42 am
#1982366
update table a set a.date=(select max(b.date) from table b where b.stat_cd=a.stat_cd)