Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.65 KB

File metadata and controls

46 lines (33 loc) · 1.65 KB
title getDateTimeOffset(int) (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
ms.assetid 60abf83d-6f97-4e47-b9d3-5072bd09d869
author David-Engel
ms.author v-daenge

getDateTimeOffset(int) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

This method was added in [!INCLUDEmsCoName][!INCLUDEssNoVersion] JDBC Driver 3.0.

Retrieves the value of the designated column as a DateTimeOffset Class object in the Java programming language given the parameter index.

Syntax

  
public microsoft.sql.DateTimeOffset getDateTimeOffset(int columnIndex)  

Parameters

columnIndex

The column ordinal.

Return Value

A DateTimeOffset Class object.

Exceptions

SQLServerException

Remarks

You can update a DateTimeOffset Class value with SQLServerResultSet.updateDateTimeOffset.

See Also

SQLServerResultSet Members
SQLServerResultSet Class