- TIBCO BusinessEvents®
- CEP Query
- Query
- Statement
- Metadata

# Query.Statement.Metadata.findColumn()

## Signature

`int findColumn(String statementName, String columnName)`

## Domain

ACTION, CONDITION

## Description

Finds the index of a column in the result of the statement.

## Parameters

Name | Type | Description
--- | --- | ---
`statementName` | `String` | name of the statement.
`columnName` | `String` | name of a column in the result of the statement.

## Returns

Type | Description
--- | ---
`int` | index of that column or -1 if the column was not found.

## Cautions

none