Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.24 KB

File metadata and controls

40 lines (30 loc) · 1.24 KB
title getColumnCount Method (SQLServerResultSetMetaData)
description getColumnCount Method (SQLServerResultSetMetaData)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSetMetaData.getColumnCount
apitype Assembly

getColumnCount Method (SQLServerResultSetMetaData)

[!INCLUDEDriver_JDBC_Download]

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