pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nitin Bahadur <bnitin@mailcity.com>
To: pgsql-sql@postgresql.org
Subject: SQL stored procedures and JDBC problem
Date: Wed, 28 Jun 2000 19:29:48 -0700
Message-ID: <395AB49C.D924C245@mailcity.com> (raw)


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@mailcity.com

thanks
nitin




Message-ID: <395AB49C.D924C245@mailcity.com>
Permalink:  ../395AB49C.D924C245@mailcity.com/
Also on:    postgresql.org/message-id/395AB49C.D924C245@mailcity.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: bnitin@mailcity.com
  Subject: Re: SQL stored procedures and JDBC problem
  In-Reply-To: <395AB49C.D924C245@mailcity.com>
  References: <395AB49C.D924C245@mailcity.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox