setDateTimeOffset Method (SQLServerCallableStatement)
This method was added in Microsoft SQL Server 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
Remarks
You can retrieve a DateTimeOffset Class value with SQLServerCallableStatement.getDateTimeOffset.
setDateTimeOffset takes the ordinal of the column.
See Also
SQLServerCallableStatement Members
SQLServerCallableStatement Class
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for