Home / Software / Tips and Tricks / How to get only hour from getdate() function in sql server?

How to get only hour from getdate() function in sql server?

Updated:  08/27/2007 08:08 AM
Author:  Shiju Mathews

Status:    Resolved.


Use datepart function.