View Single Post

   
  #2 (permalink)  
Old 04-16-2008, 01:53 AM
Heikki Linnakangas
 
Posts: n/a
Default =?iso-8859-1?Q?Re:_=5BJDBC=5D_Questi=F3n_of_JDBC?=

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

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote