|
<<SNIP>>
CREATE FUNCTION library.MaxSEQupv
<<SNIP>>
BEGIN
RETURN(
select ...
from library.table
...
);
END
In order to get it to work, I needed to qualify the table. I would
prefer to make this schema independent.
I tested using:
select
library.MAXSEQUPV(cast('3434343434' as char(10))
, cast(20120301 as decimal(8,0)))
from sysibm.sysdummy1
again...in order to get it to work, I had to change over to *SQL
rather than *SYS for naming conventions and had to qualify the UDF.
Again, I would prefer to make the UDF schema independent.
What have I done wrong?
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.