You can return to wherever you wanted to. Depends on how you called the function, you can return the value to a variable or to the screen.This says the only difference between a procedure and a function is that the >>function returns a value while a procedure doesn't. Return a value to where?. To the >>screen of a computer?.
You can output line in both procedure and function and technically that's not called "return value". That's output to screen.Can i not wrap any SQL, e.g. SELECT, statement either in procedure or function >>and both return values if i set the "set serveroutput on + DBMS_Output.put_line" on?.
The trigger for that question was a statement in aThey do exactly the same kind of thing.
SQL book saying that there were rumors that Oracle
might discontinue PL/SQL because Java was taking
over. I said to myself these two must be doing the
same thing then.