I am using a Data Analysis tool and the requirement I have was to accept a value from the user, pass that as a parameter and store it in a table. Pretty straighforward so I
Just declare a variable to accept the return value, for example:
declare retvar varchar2(4); begin retvar := supercomplex('somevalue'); end;
The select doesn't work because the function is performing an insert, if all it did was return a value then it would work.