How to calculate the difference between two datetimes in hours in sql as i wanted to check the condition as if differenece between them is 48 hours then do something.
Suppose sentdate=2019-10-27 17:45:46.330
and getdate() which is today ie. 2019-10-29 10:28:21.850
Any help will be appreciated.