function - oracle exact fetch returns more than requested -


I am having trouble creating a function that returns several rows I am trying to use a loop , But I still get the "Received error over request" error. Any help in pointing me in the right direction would be greatly appreciated. Create or Section Volume 2 (id_param NUMBER) Returns varchar as sections_param varchar (40); In the Start sections, select Sections in sections 2 WHERE id = id_param; Return section_im; End loop; End; />

It looks like you give a function that is a The archive gives me an example of returning nested table

  - Use whatever length is appropriate here. Type section_tableable VARCHAR2 (40); Create or modify jobs section 2 (ID_parm number) Returns section_Table AL_section section_tl; Move Selection to the Start Sections B_L_sections in Table 2 WHERE id = id_param; Returns l_sections; End;   

In the caller, you want to do something like

  DECLARE l_sections sections_tbl: = sections2 (   

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -