Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.79 KB

File metadata and controls

49 lines (34 loc) · 1.79 KB
title setDateTimeOffset Method (SQLServerCallableStatement) | 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 9383e14d-c83e-43c5-980c-50a3e0bedc31
author David-Engel
ms.author v-daenge

setDateTimeOffset Method (SQLServerCallableStatement)

[!INCLUDEDriver_JDBC_Download]

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

Sets the value of the column specified to the DateTimeOffset Class value.

Syntax

  
public void setDateTimeOffset(String sCol, microsoft.sql.DateTimeOffset t)  

Parameters

sCol

The name of a column.

t

The DateTimeOffset Class object.

Exceptions

SQLServerException

Remarks

You can retrieve a DateTimeOffset Class value with SQLServerCallableStatement.getDateTimeOffset.

setDateTimeOffset takes the ordinal of the column.

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class