-1

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! :(

Nick Krasnov
  • 26,886
  • 6
  • 61
  • 78
Vera Aung
  • 85
  • 1
  • 1
  • 10

1 Answers1

2

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;
Nick Krasnov
  • 26,886
  • 6
  • 61
  • 78
simplify_life
  • 405
  • 4
  • 18