begin dbms_output.put_line(packagename.functionname(paraname)); end;
Before starting, you must enable the output. To do this, select the "DBMS Output" tab at the bottom of the editor, then click the leftmost button under the tab (it should display a red circle using the "Turn Output On" tooltip (if it is a green circle, the output is already on)).
The query results will be written to the "DBMS Output" window, not the "Data Grid" (you may need a few seconds for the survey to catch the results). If you use a custom type or ref cursor, this will not be enough, and you will need to process the results in an anonymous block before writing them.
Allan
source share