Question

enter image description here

Hello everyone, please help me again!

I could create the function but when I execute it, I always get the following error. Line 1, column 7 (I guess it's datatype of parameter) and statement ignored! :(

Was it helpful?

Solution

What you are using is to execute a function. Either assign the result to a variable or run sql query using dual

 declare
    x varachar2(100);
 begin
    x := fct1('dd');
 end;

Alternatively you can also use

select fct1('dd') from dual;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top