| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.tools -> Re: SqlPlus batch
ciccio schrieb:
> Noel wrote:
>
> Wow! Faster than the speed of light!
>
>> Enclose it in <declare begin end> block. >> declare >> x integer; >> y varchar2(2000); >> begin >> myproc(sysdate - 10, sysdate, 1, x, y); >> end; >> /
To show the values of OUT variables you can use DBMS_OUTPUT.PUT (or
PUT_LINE) procedures ( there are some restrictions concerning the length
of arguments ).
Also you can use bind variables and show the values with sqlplus PRINT
command.
Also you can abbreviate < begin myproc; end; > to < exec myproc > if you
are using sqlplus.
Best regards
Maxim Received on Wed Jul 13 2005 - 08:06:36 CDT
![]() |
![]() |