Answers for "less than and between in sql query"

SQL
0

less than and between in sql query

declare @starttime datetime = '2012-03-07 22:58:00'

SELECT BookingId, StartTime
FROM Booking
WHERE ABS( DATEDIFF( minute, StartTime, @starttime ) ) <= 60
Posted by: Guest on September-15-2021

Code answers related to "less than and between in sql query"

Code answers related to "SQL"

Browse Popular Code Answers by Language