FYI: the iDate service program includes UDFs to converts both ways..

iDate(20110108) returns a Date type

ConvertToiDate('2011-01-08') returns a numeric type...

HTH,
Charles

On Thu, Sep 8, 2011 at 2:01 PM, CRPence <CRPbottle@xxxxxxxxx> wrote:
  If the idea of using the full expression for calculating "yesterday"
in the query is not desirable, then the expression can be encapsulated
in a UDF.  And unlike using iDate() or even DATE() on the column for the
predicate, an [deterministic] expression compared to the column should
be little different than comparing the column to a literal.  So instead of:

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.