Düzenle

Aracılığıyla paylaş


setDateTimeOffset Method (SQLServerCallableStatement)

Download JDBC driver

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

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