getDateTimeOffset(int) (SQLServerResultSet)

Download JDBC driver

This method was added in Microsoft SQL Server 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