Compartir a través de


findColumn Method (SQLServerResultSet)

Retrieves the index of the first matching column for the given column name in this SQLServerResultSet object.

public int findColumn(java.lang.String columnName)

Parámetros

columnName

A String that contains the name of the column.

Valor devuelto

An int that indicates the column index.

Excepciones

SQLServerException

Observaciones

This findColumn method is specified by the findColumn method in the java.sql.ResultSet interface.

If there are multiple columns with the same name, the findColumn method returns the first case-sensitive match. If there is no case-sensitive match, this method returns the first case-insensitive match.

Vea también

Referencia

SQLServerResultSet Class

Conceptos

SQLServerResultSet Methods
SQLServerResultSet Members