Anyone knows a function which chooses the records with the maximum date; ie: most recent out of duplicate records?
- ....where date = ( select max(date) from table )
so what's the problem with DATEDIFF?
use 'Convert' to get datetime value of 26/08/2003 13:55,
18/08/2003 14:00
and then DATEDIFF ( datepart , startdate , enddate )
** Is there a time-out value that I can increase so the Agent can start without first giving this message?
yesy there is. open EM -> SQL Server Group -> YourServer ->
Management -> right click SQL Server Agent -> properties->
Connection -> Login timeout
** what could be causing the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.