Home Forums SQL Server 2008 SQL Server 2008 - General Replicate Excel's date difference for each record in SQL RE: Replicate Excel's date difference for each record in SQL
datsun
SSCrazy
Points: 2397
More actions
July 21, 2016 at 10:10 am
#1891379
ZZartin,
Wow. so simple yet elegant.
It didn't occur to me to use min and max within the dateDiff function directly.
I was going completely off the tangent using two temp tables, etc.
thank you so much.
Vin