× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What is the count when you execute ‘Select count(*) from V1 where date between 20210601 and 20210607’?
That would be the correct number.

By the way you should not use ‘DATE’ as the column name for you date column. DATE is a reserved word. Call it MYDATE, TheDate, ADate, or anything else.

If WRKQRY is not giving you the correct number, then I would look at the WRKQRY for the issue.
And how are the counts different? By 1 record, 2 records, double the records, triple?
At this point you are in debug mode.


From: jerry ven <jerryven95@xxxxxxxxx<mailto:jerryven95@xxxxxxxxx>>
Sent: Friday, July 1, 2022 11:16 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>>
Cc: Therrien, Paul <ptherrien@xxxxxxxxxxx<mailto:ptherrien@xxxxxxxxxxx>>
Subject: Re: [EXTERNAL] records between two dates

Hi,

Yes, They ( here record count in WRKQRY's report is more than SQL Query's record count ) are different and not sure what is wrong with my SQL Query or with the View Or with the WRKQRY here.


Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.