| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: create store procedure in linux ..HELP !
Indosat wrote:
>
> hi,
> any body help me, how to create store procedure in linux ?
> actually, I'm is newbie in linux oracle.
>
> usually I use console (in win NT) to create SP. I try copy a script from
> oracle nt, and execute the script (in sql plus), but get no response...
>
> tks
> Lucas
create a file called your_procname.sql
use vi (or something). Syntax is like
this, first there's the create, then variable
declarations, then the code block.
create or replace procedure build_retest is
cursor retest_lid is select col1 from table1
where nvl(cap_aeth_val,0) <= 0;
rl_rec retest_lid%rowtype;
fld_ctr integer := 0;
fhOutFile UTL_FILE.FILE_TYPE;
sText varchar2(1023); l integer; i integer;
![]() |
![]() |