Hi ,
I want to get the only the "hour" for the particular datetime ,
For example :
If we write ---select year(getdate()) --it gives you the result say -2009 as year ,
in the same way i want to get the "hour "
what is the Function used to get the hour from the getdate() .
thanks in advanced
jaya