SQL stored procedures and JDBC problem

From: Nitin Bahadur <bnitin(at)mailcity(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: SQL stored procedures and JDBC problem
Date: 2000-06-29 02:29:48
Message-ID: 395AB49C.D924C245@mailcity.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


I need a SQL stored procedure to return arrays. as OUT parameters in
If i declare the array as a "table", then
i cannot do table[i] := some_value. If i declare it as a VARRAY. then i
need to
initialialize all my VARRAY elements using a costructor which is painful
( a simple
for loop does not do it). So how do i declare and use arrays in SQL
stored procedures
so as to return arrays as OUT paramters and access the same in JDBC

kindly reply at bnitin(at)mailcity(dot)com

thanks
nitin

Browse pgsql-sql by date

  From Date Subject
Next Message Ang Chin Han 2000-06-29 02:41:01 Re: Hash Join not using hashed index?
Previous Message Tom Lane 2000-06-29 01:55:09 Re: Finding the names of inheriting classes