Wednesday, 11 September 2013

How to compare datetime in SQL Server in where clause

How to compare datetime in SQL Server in where clause

I have CreatedDate as datetime column in my database table. I want to
fetch the rows where CreatedDate and current time difference is more than
1 hour

No comments:

Post a Comment