Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

i need to return multiple values in function

AMar 22 2011 — edited Mar 23 2011
create or replace function f (p in varchar2) return varchar2
is
a number(10);
begin

for loop 1 in 1..10
select instr('yyyyyyyyynnnnnyynny','y',1,i) into a from dual;
end loop;
return a;
end;

my function return a value but i need to return multiple values
thanks in advance
This post has been answered by Leo Mannhart on Mar 22 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2011
Added on Mar 22 2011
13 comments
1,525 views