db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Kellerer <spam_ea...@gmx.net>
Subject Re: What's the name of a column...
Date Wed, 14 Nov 2007 17:10:58 GMT
Luis Angel Fernandez Fernandez wrote on 14.11.2007 17:44:
>   Hi!
>   I execute a query like this: select MAX(idstat) from history;
>   Now, from the ResultSet, how can I get the data by column name?
>   Using rs.getString() with idstat, MAX(idstats)... I get column not
> found. There is an idstat field. What's the name for that kind of
> columns? I did some searches with no success.

You don't need a name. You get use getString(1)

View raw message