Please helpCode:SELECT * FROM Transaction
TransactionDate >= -- code here to compute if the Transaction Date is already 23hours long using UTC Date?
Printable View
Please helpCode:SELECT * FROM Transaction
TransactionDate >= -- code here to compute if the Transaction Date is already 23hours long using UTC Date?
Congratulations. You've just set a new standard for terse questions on the forum.
I think you're after this:-
If that's not right you're going to have to give us more information about what you're trying to achieve.Code:Where DateDiff(hour, TransactionDate, Getdate()) >= 23