Home Forums SQL Server 7,2000 T-SQL Rows to Columns on for Date Datatype RE: Rows to Columns on for Date Datatype
lynn.huff
Right there with Babe
Points: 784
More actions
March 21, 2014 at 2:09 pm
#1699236
Luis, you are correct. MAX didn't work because it always gave me the last week of the year. But MIN works fine if I compare the CalenderDate to GETDATE()!
Thanks a lot. I was in a rut!!:-D