getColumnCount Method (SQLServerResultSetMetaData)

Download JDBC driver

Returns the number of columns in the result set.

Syntax

  
public int getColumnCount()  

Return Value

An int 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

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class