Quote:
Originally posted by Plarde
Thanks a lot,
I am not familiar with this type of programming. (syntax)
I use simple SQL queries, Javascript, ColdFusion, HTML.
Is this a SQL procedure ?
Where can I find a documentation to understand well the coding ?
|
This is a PL/SQL Stored procedure.
In order for the procedure to return values to a Java program, you would have to add 'OUT' parameters to the procedure and remove the 'dbms_output' statements, something like this:
Create Or Replace Procedure User_Space
(Usr Varchar2
,P_Usr_Tab_Tot OUT Number
,P_Usr_Tab_Totb OUT Number
,P_Usr_Idx_Tot OUT Number
,P_Usr_Idx_Totb OUT Number)
<<.. rest of code ..>>
P_Usr_Tab_Tot := Usr_Tab_Tot;
P_Usr_Tab_Totb := Usr_Tab_Totb;
P_Usr_Idx_Tot := Usr_Idx_Tot ;
P_Usr_Idx_Totb := Usr_Idx_Totb;
End;
/