I am using DBMS_OUTPUT. PUT_LINE from a function and it is not displaying the results. Similar stmt from procedure works fine. When I execute DBMS_OUTPUT.enable then it displays. Is there a limitation that DBMS_OUTPUT does not work from functions?

Thanks