Posted in 1998
Hi,
I've tried to write a trivial spl function that returned a row type,
as below:
create type smoo (a integer, b integer);
create function smoo2() returning smoo ; define b smoo;
let c.a = 3;
let c.b = 5;
return c;
end function ;
when I try to execute the function from dbaccess,
execute function smoo2();I get the following message:
# 696: Variable (c) has undefined value.
As far as I can see, my function varies little from one in the tutorial.
Can anybody shed some light?
Eric.
We use strictly necessary cookies to make this site work. With your consent we’d also use optional cookies for analytics and marketing. You can accept all, reject all, or choose. Read our Cookie Policy.