× 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.



On 2/4/2012 3:00 PM, CRPence wrote:
On 04-Feb-2012 12:19 , Joe Pluta wrote:
Nope, no Boolean. And no date formatting either. Those are a
couple of reasons that SQL makes me crazy. In fact, I just got
done extending Alan Campin's phenomenal iDate routine to add
date formatting.

On 03-Feb-2012 14:04 , Kurt Anderson wrote:
Can a UDF return a Boolean value?<<SNIP>>

FWiW: Some limited date formatting [ISO, USA, EUR, JIS, LOCAL] is
available from the CHAR and VARCHAR scalars. Also effectively [the date
would need to be cast as TIMESTAMP] even more capabilities in date
formatting should be available using the VARCHAR_FORMAT [aka TO_CHAR]
scalar.

Limited is being kind. They stink. I don't know if you've ever tried VARCHAR_FORMAT but I've only ever gotten it to work with two format strings: "YYYY-MM-DD" and "YYYY-MM-DD HH24:MI:SS". Anything else gets me a QRY2293 error.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.