Returns the number of columns in the result set.

public int getColumnCount()

Return Value

An integer that indicates the number of columns.

Exceptions

SQLServerException

Remarks

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

See Also