I have an issue regarding the looping
.
Is
there a way toloop backifno records foundindate filtering.
sample
, Rightnow thecurrentdate i have startdate'2013-09-1 6:00AM'
and
Enddate '2013-09-2 6:00AM' which we dont havetransactionfor thisdate
which this fall
as sunday. i need toloop back 1day startdate'2013-09-31 6:00AM'
and
Enddate '2013-09-1 6:00AM'to determineif has a records.
if
there's a records then i have to pprocess the query or CTE. Thanks.<%2