Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.6 KB

File metadata and controls

56 lines (43 loc) · 1.6 KB
title setTimestamp Method (java.lang.String, java.sql.Timestamp) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.reviewer
ms.suite
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerCallableStatement.setTimestamp (java.lang.String, java.sql.Timestamp)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid dc45b126-3196-47ff-956b-cbc897980ff8
caps.latest.revision 9
author MightyPen
ms.author genemi
manager jhubbard

setTimestamp Method (java.lang.String, java.sql.Timestamp)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given timestamp value.

Syntax

  
public void setTimestamp(java.lang.String sCol,  
                         java.sql.Timestamp t)  

Parameters

sCol

A String that contains the parameter name.

t

A Timestamp object.

Exceptions

SQLServerException

Remarks

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

See Also

setTimestamp Method (SQLServerCallableStatement)
SQLServerCallableStatement Members
SQLServerCallableStatement Class