Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.52 KB

findcolumn-method-sqlserverresultset.md

File metadata and controls

46 lines (33 loc) · 1.52 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
findColumn Method (SQLServerResultSet)
findColumn Method (SQLServerResultSet)
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerResultSet.findColumn
Assembly

findColumn Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public int findColumn(java.lang.String columnName)  

Parameters

columnName

A String that contains the name of the column.

Return Value

An int that indicates the column index.

Exceptions

SQLServerException

Remarks

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.

See Also

SQLServerResultSet Members
SQLServerResultSet Class