Use the DATEADD function. Implicit DATETIME math is always in number of
days.
SELECT DATEADD(MINUTE, 10, '2008-03-20 15:36:09.920');
While the default is not entirely intuitive, why would you assume that SQL
Server will know that when you typed "10" you meant minutes? What if I did
the same, and expected seconds, and my co-worker expects months? SQL Server
can't be psychic...
A
> Hi,
>
[quoted text clipped - 10 lines]
> Thank,
> Al.
almurph@altavista.com - 20 Mar 2008 17:06 GMT
> Use the DATEADD function. Implicit DATETIME math is always in number of
> days.
[quoted text clipped - 28 lines]
>
> - Show quoted text -
Aaron,
Thank you very much.
Al.