| 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 |
[!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.
public void setDateTimeOffset(String sCol, microsoft.sql.DateTimeOffset t)
sCol
The name of a column.
t
The DateTimeOffset Class object.
You can retrieve a DateTimeOffset Class value with SQLServerCallableStatement.getDateTimeOffset.
setDateTimeOffset takes the ordinal of the column.
SQLServerCallableStatement Members
SQLServerCallableStatement Class