Re: 'AS' keyword not working?
Brian,
It's working as designed. The JDBC specification states that a column name is not changed by "AS", it's always the actual name of the column (if such a name exists), so that clients can build a query based on metadata alone.
One can only find the name used in the 'AS' through ResultSetMetaData's "getColumnLabel()" method.
-Mark
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html
Subject
Written By
Posted
Re: 'AS' keyword not working?
May 25, 2008 02:11PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.