pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Miguel Angel . <rev_angel@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Questión of JDBC
Date: Wed, 05 Sep 2007 09:35:06 +0100
Message-ID: <46DE6A3A.5000409@enterprisedb.com> (raw)
In-Reply-To: <BAY131-F38E41F69733A98E011F0CB90CB0@phx.gbl>
References: <BAY131-F38E41F69733A98E011F0CB90CB0@phx.gbl>

Miguel Angel . wrote:
> Something thus:
> SELECT * FROM tableA INNER JOIN tableB USING(column);
> 
> columnA | columnB
> ------------------
> 10     |   20
> 
> I need this:
> 
> query
> -------
> columnA
> columnB
> 
> This can be obtained by means of the JDBC?

Yes, see ResultSet.getMetaData().

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com



view thread (3+ messages)  latest in thread

Message-ID: <46DE6A3A.5000409@enterprisedb.com>
Permalink:  ../46DE6A3A.5000409@enterprisedb.com/
Also on:    postgresql.org/message-id/46DE6A3A.5000409@enterprisedb.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-jdbc@postgresql.org
  Cc: heikki@enterprisedb.com, rev_angel@hotmail.com
  Subject: Re: [JDBC] Questión of JDBC
  In-Reply-To: <46DE6A3A.5000409@enterprisedb.com>
  References: <BAY131-F38E41F69733A98E011F0CB90CB0@phx.gbl> <46DE6A3A.5000409@enterprisedb.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