Rabbit:
I just noticed your post now, it works great! Thank you. :)
NeoPa:
I tried copying your new query but I get an error when I try to open it: Invalid use of '.', '!' or '()' in query expression 'qTH1.'.
the exact query is (as posted):
Does that mean that it is accounted for in your solution? If not can be incorporated?
ADezii:
Thank you very much for all your efforts in helping me. :)
I've tested the performance on 100 rows and then multiplied the result by 1500 (total of 150000). Here are my findings:
based on QueryPerformanc eCounter takes approx.
433.75252378422 3 seconds
or
7.2292087297370 5 minutes
and based on winmm.dll it takes approx.
436.5 seconds
or
7.275 minutes
I just noticed your post now, it works great! Thank you. :)
NeoPa:
I tried copying your new query but I get an error when I try to open it: Invalid use of '.', '!' or '()' in query expression 'qTH1.'.
the exact query is (as posted):
Code:
SELECT qTH1.* FROM qryTransactionHebrew AS qTH1 INNER JOIN qryTransactionHebrew AS qTH2 ON (qTH1.ClientID=qTH2.ClientID) AND (qTH1.MonthOrder>=qTH2.MonthOrder) GROUP BY qTH1.* HAVING Count(*)<4 ORDER BY qTH1.ClientID, qTH1.MonthOrder DESC;
ADezii:
Special conditions such as these should have been stated earlier, especially since it effects the gentlemen working on the SQL approach. The changes to the Code are relatively easy, not so for the SQL involved.
Special conditions such as these should have been stated earlier, especially since it effects the gentlemen working on the SQL approach. The changes to the Code are relatively easy, not so for the SQL involved.
True indeed. As it happens though, I did anticipate this when looking at the problem earlier.
ADezii:
Thank you very much for all your efforts in helping me. :)
I've tested the performance on 100 rows and then multiplied the result by 1500 (total of 150000). Here are my findings:
based on QueryPerformanc eCounter takes approx.
433.75252378422 3 seconds
or
7.2292087297370 5 minutes
and based on winmm.dll it takes approx.
436.5 seconds
or
7.275 minutes
Comment