executing a function in sql plus January 4, 2024 by Tarik declare x number; begin x := myfunc(myargs); end; Alternatively: select myfunc(myargs) from dual;