Home Forums SQL Server 2008 T-SQL (SS2K8) How to get minimum date of an ID with respect to startdate? RE: How to get minimum date of an ID with respect to startdate?
Charmer
SSChampion
Points: 14903
More actions
February 8, 2016 at 5:37 am
#1857100
But now this one is getting failed.
For ID 4, minimum date must be 2016-01-26. but it takes 2016-01-27 because we have used max(startdate) in the script.
Thanks,Charmer