|
Someone previously responded:
Where iDate(post_date,...) = current_date - 1 days
Instead of using iDate, use Date.
Where
Date(digits(post_date) concat '000000') = current_date - 1 days
Tom Hightower on Tuesday, August 30, 2011 7:34 PM wrote:
<<SNIP>>
I need to work up an SQL statement that will find all entries in
TCKTHIST with a post_date = yesterday and which are not in file
NEWTCKTS. Fields TICKET#, CUSTOMER# and TRAN_DATE are common
fields to both files; POST_DATE is only in TCKTHIST.
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.