Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.44 KB

File metadata and controls

50 lines (38 loc) · 1.44 KB
title getColumnName Method (SQLServerResultSetMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerResultSetMetaData.getColumnName
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 0330ca1d-5e24-4ce3-9d2a-b931f20a0fcf
author David-Engel
ms.author v-daenge

getColumnName Method (SQLServerResultSetMetaData)

[!INCLUDEDriver_JDBC_Download]

Gets the name of the designated column.

Syntax

  
public java.lang.String getColumnName(int column)  

Parameters

column

An int that indicates the column index.

Return Value

A String that contains the column name.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class