Freigeben über


getColumnLabel Method (SQLServerResultSetMetaData)

Gets the suggested title, for use in printouts and displays, of the designated column.

public java.lang.String getColumnLabel(int column)

Parameter

column

An int that indicates the column index.

Rückgabewert

A String that contains the title of the column.

Ausnahmen

SQLServerException

Hinweise

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

This method returns the alias name of the column. If that is not available, this method returns the column name.

Siehe auch

Verweis

SQLServerResultSetMetaData Class

Konzepte

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members