Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
honey_191
Starting Member
49 Posts |
Posted - 2008-02-06 : 21:12:45
|
| I want to know the latest date from a set of dates in a table.Is there any special command is there?for ex: In a table there are 2 colums, column1 is backupfinishdate,In that column i have so many dates.column2 contains only the characters(D,I,L).I just want to know the latest date of 'D'. |
|
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2008-02-06 : 21:16:00
|
select max(backupfinishdate) from mytable where yourcolumn='D' elsasoft.org |
 |
|
|
|
|
|