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
left column thing is gone in FrontPage 2003
How to export data from various tables into a single xml file
Import binary data into SQL 2005
How to use CDatabase's ExecuteSQL to find the record or row and then get the result, such as in CRecordSet
creating variables out of column items
Push mail on SBS2008 problem
SystemDB and MDW questions
Table parameter in SQL 2008
OSC 2007 R2, need to deploy a FQDN pool. not sure how to
After Update event code