getColumnName Method (SQLServerResultSetMetaData)

Download JDBC driver

Gets the name of the designated column.

Syntax

  
public java.lang.String getColumnName(int column)  

Parameters

column

An int that indicates the column index.

Return Value

A String that contains the column name.

Exceptions

SQLServerException

Remarks

This getColumnName method is specified by the getColumnName method in the java.sql.ResultSetMetaData interface.

See Also

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class