Home » SQL & PL/SQL » SQL & PL/SQL » How to construct PL/SQL array at runtime ?
How to construct PL/SQL array at runtime ? [message #45458] Wed, 17 March 2004 01:50 Go to next message
Shibaji Ghosh
Messages: 39
Registered: April 2002
Member
Hi,

My application is a two-tier application. Front End passes some parameter to the Stored Procedure (SP). The SP will fetch data based on the input parameter and return the output to FE.

1.> Is is possible to pass a recordset from SP in a two-dimensional array format.

2.> The horizontal as well as the vertical structure of the array is not known until runtime. I presume array implementation in PL/SQL can be done via PLSQL table type. How do I construct the variable of such a type at runtime.

Can anyone help me out !!!

Thanks in advance.

Shibaji

 

 
Re: How to construct PL/SQL array at runtime ? [message #45466 is a reply to message #45458] Wed, 17 March 2004 08:27 Go to previous messageGo to next message
sverch
Messages: 582
Registered: December 2000
Senior Member
http://asktom.oracle.com/pls/ask/f?p=4950:8:383290::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:210612357425,

Also search other Tom's answers

Also search this forum
Re: How to construct PL/SQL array at runtime ? [message #45469 is a reply to message #45458] Wed, 17 March 2004 08:32 Go to previous messageGo to next message
Todd Barry
Messages: 4819
Registered: August 2001
Senior Member
This is the perfect use of a ref cursor:

Returning a result set from a procedure
Re: How to construct PL/SQL array at runtime ? [message #46750 is a reply to message #45458] Mon, 28 June 2004 19:58 Go to previous message
Rahul
Messages: 94
Registered: December 1998
Member
hello,

i need syntax to create Array in plsql so plz give me the syntax if possible
Previous Topic: Urgent:HTTP Request Header
Next Topic: how to retrieve upadted rows in a table
Goto Forum:
  


Current Time: Wed Jul 30 03:13:14 CDT 2025