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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Time comparision

Author  Topic 

himali17
Starting Member

8 Posts

Posted - 2009-02-08 : 08:59:34
I have a date column. I want to segregate time from it and compare its hour part.

Please guide on the same.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-02-08 : 21:32:59
use DATEPART(hh,datecol)
Go to Top of Page
   

- Advertisement -