Derek Hamilton wrote:
> I'm getting an error attempting to run the code below. The funny thing is,
> this code worked a few hours ago.
>
> The error is:
> WARNING: line 53 at return next
> ERROR: Set-valued function called in context that cannot accept a set
>
You haven't shown us the statement causing the error, but I'd bet you
need to do:
select * from testFunction(1);
instead of:
select testFunction(1);
HTH,
Joe