Hi im tying to find a solutions for my project which is a restaurnat based
i need to get the data between 2 date range and and with in 2 time range also
like
i need to query find a sales details between 2020-01-01 and 2020-01-31
and time in between 22:00 and next day 02:00
im am using sql server 2008 and visual studio 2017
can someone help

Amit MohantyRank #112 · 20K reputationPosted Mar 9, 2020, 1:55 AM EDT
Lisen56 reputationPosted Mar 9, 2020, 2:03 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Mar 9, 2020, 2:17 AM EDT
Lisen56 reputationPosted Mar 9, 2020, 2:45 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Mar 9, 2020, 3:17 AM EDT