|
Is CALY a numeric variable? Then this is still not working
- you must have left out something.
<<SNIP>>
Chandana Silva wrote:
<<SNIP>>
I want to share the final result, which is nice and clean.
Select sum(SALES)
From DaySALES
WHERE CPY = 22 and STR = 1234
AND CALY || DIGITS(CALM) || DIGITS(CALD)
BETWEEN '20090714' AND '20090810';
I am using host values for the BETWEEN :FrmDate And :Todate
and in cpy and str, in my actual code.
Performance : Statement ran successfully (31 ms) - via
iseries navigator
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
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.