Hello,
I wrote user-defined function formattime. The function accepts Integer,
Long, and Date values and returns a String. If I execute a statement
like
SELECT formattime(time_col) ...
the function returns the desired strings, while
SELECT formattime(sum(time_col))
throws a SQLException.
I did some tests with the example functions that come with InstantDB and
found that if such a function is placed around an aggregate it either
throws an SQLException (without further information) or it returns an
empty result set.
Does InstantDB not allow results of aggregates to be passed to user
defined-functions?
Thanks,
Dirk
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|