DaniPro
asked on
array in stored procedure
Can i declare an array of varchar in a stored procedure or use a structure but calling the structure fields using their position in the structure instead of the name?
ASKER
Thank's for your replay, but i need to valorize my array with the field number.
Can i use a syntax like this?
myarr(1) := 'a'
myarr(2) := 'b'
Can i use a syntax like this?
myarr(1) := 'a'
myarr(2) := 'b'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
declare
type arrType is table of varchar2(50);
myarr arrType;
begin
myarr := arrType('a','b');
dbms_output.put_line('Firs
dbms_output.put_line('Seco
end;
/
I'm not clear what you are asking on the second part.