Good afternoon,
Is there any way to exclude a period without using BETWEEN
?
x NOT BETWEEN HorFim AND HorIni
and y NOT BETWEEN HorFim AND HorIni
Where:
x = hora inicial digita pelo usuario.
y = hora final digita pelo usuario.
I have to make this sql work without BETWEEN
, the problem is that my final time ( HorFim
) is less than the start time ( HorIni
)