View Single Post

   
  #10 (permalink)  
Old 03-01-2008, 11:57 AM
--CELKO--
 
Posts: n/a
Default Re: Selecting last date

>> SQL Server also has +/- for datetime, although I suspect this is due to implicit conversion. <<

The ANSI/ISO version has to have temporal units with the +/- like
this:

(my_date + INTERVAL 2 DAYS)

This makes more sense and avoids the rubbish.

Reply With Quote