|
We have a UDF used by a number of SQL VIEWs, to convert a numeric
date field to an actual SQL date, defined thusly:
create function <<SNIP>> return date('00010101000000'); <<SNIP>
If we look at the VIEWs that use this in QuestView (i.e., via native
record-level access), any zeroed-out fields show up as January 1st
of the year 0001, as designed.
But if we look at it in STRSQL, those same zeroed-out dates come back
as a field of plus-signs.
And when it's used under other circumstances, apparently in
connection with BIRT reports, we get exceptions in the QZDASOINIT
jobs.
Can somebody please shed some light here? Why would the behavior
differ, depending on the circumstances? <<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.