Servertec | getColumnName( )

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Config Context Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC clearParameters( ) clearWarnings( ) close( ) commit( ) createStatement( ) execute( ) executeQuery( ) executeUpdate( ) findColumn( ) getAutoCommit( ) getColumnCount( ) getColumnName( ) getColumnType( ) getColumnType Name( ) getConnection( ) getDate( ) getDouble( ) getInt( ) getInteger( ) getLong( ) getMaxRows( ) getMetaData( ) getMoreResults( ) getNextWarning( ) getPrecision( ) getResultSet( ) getScale( ) getSchemaName( ) getString( ) getTableName( ) getTransaction Isolation( ) getUpdateCount( ) getWarnings( ) isCaseSensitive( ) isClosed( ) isDefinitelyWritable( ) isNullable( ) isReadOnly( ) isSearchable( ) isSigned( ) isWritable( ) loadDriver( ) next( ) prepareCall( ) prepareStatement( ) registerOut Parameter( ) rollback( ) setAutoCommit( ) setCursorName( ) setDate( ) setDouble( ) setInt( ) setInteger( ) setLong( ) setMaxRows( ) setNull( ) setReadOnly( ) setString( ) setTransaction Isolation( ) _TRANSACTION _NONE( ) _TRANSACTION _READ _COMMITTED( ) _TRANSACTION _READ _UNCOMMITTED( ) _TRANSACTION _REPEATABLE _READ( ) _TRANSACTION _SERIALIZABLE( ) wasNull( ) Number Object Properties Random Request RequestDispatcher Response Session SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
Returns the name of column for the given column index in the specified meta data result set object. #### Syntax getColumnName( resultsetmetadata , columnindex ) resultsetmetadata.getColumnName( columnindex ) #### Parameters
resultsetmetadata | the result set meta data object to use.
columnindex | the index of the column.
#### Returns
string the name of the column.
#### Example
    column = rsmd.getColumnName( 1 )
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005