Skip site navigation (1) Skip section navigation (2)

Re: PGResultSetMetaData

From: leo <usenet(at)workfile(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PGResultSetMetaData
Date: 2005-01-23 19:49:59
Message-ID: tl7l0tocpvg6.1rfovtffloi2o.dlg@40tude.net (view raw or flat)
Thread:
Lists: pgsql-jdbc
Chris Smith:
>    ResultSet rs = stmt.executeQuery(...);
>    ResultSetMetaData rmd = rs.getMetaData();
>
>    String table = rmd.getTableName(1);
>    String schema = rmd.getSchemaName(1);
Does this really work?

Using Postgres 8 i am getting empty strings from both methods.


In response to

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2005-01-23 20:02:59
Subject: Re: PGResultSetMetaData
Previous:From: Chris SmithDate: 2005-01-23 19:32:30
Subject: Re: PGResultSetMetaData

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group