Microsoft
Software
Hardware
Network
Question : max of date
I have a table [qdfdata] with data :
[glassmodelid] [variant] [from] [to]
the from and to dates are date property in the table.
GlassModelID GlassQualID Description From To
032151 007 1.3 Hatchback 3d 1297cc 04/09/2001 30/10/2002
032151 003 1.3 Hatchback 3d 1297cc 01/09/1999 31/01/2000
032151 002 1.3 Hatchback 3d 1297cc 01/04/1999 31/08/1999
032151 001 1.3 Hatchback 3d 1297cc 06/01/1997 31/03/1999
what i would like is the min of the from date and the max of the to date so here i would expect from 6/1/1997 to 30/10/2002.
how do i extract the min and max of dates i tried but it doesnt work its almost like it treats the dates as strings
Answer : max of date
What are the adtatypes of From & To in your table ?
Random Solutions
SBS 2008/Exchange 2007 broken Autodiscover
Merge InfoPath Sections Containing Check Boxes
After Update event code
OSC 2007 R2, need to deploy a FQDN pool. not sure how to
Table parameter in SQL 2008
How to print background picture in Excel?
replace field value with another value using MS TSQL
SQL - For Each statement?
ms sql change string with all upper case to proper lower case sentence
ASP.NET - Reading from resource file