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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group