well, from log file perspective sp execution is fine, but i'm not familar with oracle, so i don't know what's right/what's wrong ;(
could you please give a some sample oracle sp?
for example how do the same task using ms sql:
1. define sp via:
create procedure test (@ani varchar)
as
begin
select a,b,c from ...
end
2. sp accept 1 (or several) input parameters and return 1 row with several columns-results.
3. i can execute it in ird using 'procedure' way and put input variable as parameters.
4. on the last tab in ird db wizard i can map a,b,c into variables or attached data
to run this sp: exec test @ani=123. i don't worry about all other output parameters, isn't it?
this is ok.
in case of oracle afaik this doesn't work, because in oracle db sp can only return either ref cursor or put values into variables. Even if i know how to execute such sp in sql developer i can't understand how to do this in IRD...
The trouble is that: procedure definition in oracle implies that it will be executed with all parameters, i.e.:
CREATE PROCEDURE sp_test_proc (ani IN VARCHAR2,b OUT NUMBER,c out number)
begin
select ... into b,c from ....
end;
thus to run this procedure i must pass all 3 parameters to it (1 input and 2 output)
sp_test_proc (a,b,c), where a - input, b,c-output. Should i pass to sp execution in IRD all 3 parameters?
what's about typing conversion, i mean if sp return 'number', should integer variable in ird work?