View Single Post

   
  #7 (permalink)  
Old 04-08-2008, 06:16 PM
Bernd Giegerich
 
Posts: n/a
Default Re: How to retrieve the date part of a DATETIME column via (T-)SQL?

Paul Dow wrote:

> As of ASE 12.5.1, then the date type
> is available, so you can do a convert to that which
> would also seem to be what you are after, i.e.
>
> convert( date, date_time_col )


great, that's exactly what I was looking for (working with 12.5.2).

Thanks,
Bernd
Reply With Quote