Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.52 KB

File metadata and controls

52 lines (39 loc) · 1.52 KB
title setTimestamp Method (int, java.sql.Timestamp) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerPreparedStatement.setTimestamp (int, java.sql.Timestamp)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 2f7bb89f-ace7-41cb-b596-5aa8d0dd9e3c
author David-Engel
ms.author v-daenge

setTimestamp Method (int, java.sql.Timestamp)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given timestamp value.

Syntax

  
public final void setTimestamp(int n,  
                               java.sql.Timestamp x)  

Parameters

n

An int that indicates the parameter number.

x

A Timestamp object.

Exceptions

SQLServerException

Remarks

This setTimestamp method is specified by the setTimestamp method in the java.sql.PreparedStatement interface.

See Also

setTimestamp Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class