Query.ResultSet.Metadata.findColumn()

Signature

int findColumn(String resultSetName, String columnName)

Domain

ACTION, CONDITION

Description

Finds the index of a column in the result set.

Parameters

NameTypeDescription
resultSetNameStringname of the result set.
columnNameStringname of a column in the result of the query.

Returns

TypeDescription
intindex of that column or -1 if the column was not found.

Cautions

none