Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.66 KB

File metadata and controls

60 lines (47 loc) · 1.66 KB
title setTimestamp Method (int, java.sql.Timestamp) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerPreparedStatement.setTimestamp (int, java.sql.Timestamp)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 2f7bb89f-ace7-41cb-b596-5aa8d0dd9e3c
caps.latest.revision 8
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

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