mexiro
11-25-2008, 12:26 PM
I have a two tables A and B they have a date field.
TABLE A, has a date field (Short date) and for every day of year there are 4 to 6 data.
Ex:
[Date when bought Field] [Product field]
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
01 Jan 2008 Peanut purchase
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
02 Jan 2008 Apple purchase
02 Jan 2008 Orange purchase
02 Jan 2008 Peanut purchase
03 Jan 2008 Apple purchase
04 Jan 2008 Orange purchase
and on ... for every date of the year.
TABLE B, has a date field (Short date) and for every BUSINESS day (MON-FRI) of year there are 4 to 6 data.
Ex:
[Date when bought Field] [Product field]
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
01 Jan 2008 Peanut purchase
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
04 Jan 2008 Apple purchase
04 Jan 2008 Orange purchase
04 Jan 2008 Peanut purchase
05 Jan 2008 Apple purchase
05 Jan 2008 Orange purchase
and on ... for every BUSINESS DAY {from Monday to friday} of the year.
As those table are data imported from some txt file and this data is imported manually everyday; I have a feeling "because we human beings might do mistakes" that during the year I have might have skipped or forgot to import a file.
Now the problem is that I do not know when.
ex I have missed one day and for TABLE A let's suppose that there are no 2 January date transactions And for TABLE B I forgot date 4 January to import. If I do not import file for one day for that day will not be transactions at all.
I am wondering If it can be done a check to find if there are some missing dates? I tried to make some query but no result.
How can I find if I have missed any day ? It's a weird questin UH ?
TABLE A, has a date field (Short date) and for every day of year there are 4 to 6 data.
Ex:
[Date when bought Field] [Product field]
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
01 Jan 2008 Peanut purchase
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
02 Jan 2008 Apple purchase
02 Jan 2008 Orange purchase
02 Jan 2008 Peanut purchase
03 Jan 2008 Apple purchase
04 Jan 2008 Orange purchase
and on ... for every date of the year.
TABLE B, has a date field (Short date) and for every BUSINESS day (MON-FRI) of year there are 4 to 6 data.
Ex:
[Date when bought Field] [Product field]
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
01 Jan 2008 Peanut purchase
01 Jan 2008 Apple purchase
01 Jan 2008 Orange purchase
04 Jan 2008 Apple purchase
04 Jan 2008 Orange purchase
04 Jan 2008 Peanut purchase
05 Jan 2008 Apple purchase
05 Jan 2008 Orange purchase
and on ... for every BUSINESS DAY {from Monday to friday} of the year.
As those table are data imported from some txt file and this data is imported manually everyday; I have a feeling "because we human beings might do mistakes" that during the year I have might have skipped or forgot to import a file.
Now the problem is that I do not know when.
ex I have missed one day and for TABLE A let's suppose that there are no 2 January date transactions And for TABLE B I forgot date 4 January to import. If I do not import file for one day for that day will not be transactions at all.
I am wondering If it can be done a check to find if there are some missing dates? I tried to make some query but no result.
How can I find if I have missed any day ? It's a weird questin UH ?