|
Thank you all.
I have done RTVQMQRY. But some how, from query/400 to SQL statement
count of the records is differing?
what could be the reason?
SELECT COUNT(*) FROM FILE1 A, FILE2 B
where
A.SBKRNM = B.SRCDTA
AND( A.SQCDE IN('SA', 'SB', 'SD', 'SG', 'SH'))
Glenn Gundermann <ggundermann@xxxxxx> wrote:
How about:
SELECT COUNT(*) FROM FILE1 A JOIN FILE2 B ON A.SBKRNM = B.SRCDTA
WHERE A.SQCDE IN('SA', 'SB', 'SD', 'SG', 'SH')
Glenn Gundermann
ggundermann@xxxxxx
(647) 272-3295
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.