Perhaps:

SELECT DISTINCT count(ihorno) FROM CA1665AFCV/SROISH T01 WHERE
IHIDAT >= 20151229

or

SELECT count(DISTINCT ihorno) FROM CA1665AFCV/SROISH T01 WHERE
IHIDAT >= 20151229

will do.

Op 30-12-2015 om 18:08 schreef Hoteltravelfundotcom:
I am just checking against the order file.
I am getting something like 12000 for a count and I kind of doubt that for
one day of orders. I need to show how many orders we shipped for the year
eventually.

SELECT DISTINCT count(*) ihorno FROM CA1665AFCV/SROISH T01 WHERE
IHIDAT >= 20151229


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].