Bulk update + SQL + self join
- by Nev_Rahd
Hello All
I would like to update a column in Table with reference to other column(s) in same table.
Ex: As in figure below - I would like to update effective endate with min date whichever is greater than effective Start Date of currrent record.
How can this be acheived in T-SQL. Can this be done with single update statement ?
Thanks.