Hi all,
Have a nasty little problem here. I need to generate a report that shows where our missing feeds are. There are 163 dealers and each sends us a daily feed. The report should tell us the dealer number and the dates where there is a gap. I'm not quite sure which way is going to be the most efficient and hoped someone here can help.
I've started with the below command to pull the initial data.
select distinct dateclosed
from GAP_ANALYSIS a
where dealerstd in (select dealernum from DLR_PARTICIPANT b
where a.rectype <> 'D'
and a.dateclosed >= '2005-04-01'
and a.dateclosed <= '2005-06-01')
and DATEPART(dw,dateclosed )not IN (1)
order by dateclosed
Thanks for any help. I'm still searching through previous posts as well.
Elena
Have a nasty little problem here. I need to generate a report that shows where our missing feeds are. There are 163 dealers and each sends us a daily feed. The report should tell us the dealer number and the dates where there is a gap. I'm not quite sure which way is going to be the most efficient and hoped someone here can help.
I've started with the below command to pull the initial data.
select distinct dateclosed
from GAP_ANALYSIS a
where dealerstd in (select dealernum from DLR_PARTICIPANT b
where a.rectype <> 'D'
and a.dateclosed >= '2005-04-01'
and a.dateclosed <= '2005-06-01')
and DATEPART(dw,dateclosed )not IN (1)
order by dateclosed
Thanks for any help. I'm still searching through previous posts as well.
Elena