Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: DBMS_SQL and DBMS_OUTPUT package
On 29 Oct 1997 14:17:55 GMT, "Haresh Assumal" <assumal_at_sprynet.com> wrote:
>I can create a table without this PL/SQL procedure
>in SQL so the user I am logining as has sufficient privileges and owns the
>procedure too. I am running the procedure from SQL. What's wrong?
I don't know the answer to this one--sorry, but I can answer your second question.
<snip>
>Isn't DBMS_OUTPUT.ENABLE equivalent to running a 'SET SERVEROUPUT ON' ?
No. "Set serveroutput on" tells the SQL*Plus program to display any output returned from the server. The call to dbms_output.enable sets a flag in the dbms_output package causing it to actually generate output when you make calls to put_line, etc.
regards,
Jonathan Gennick
![]() |
![]() |