Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.48 KB

settimestamp-method-java-lang-string-java-sql-timestamp.md

File metadata and controls

47 lines (34 loc) · 1.48 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setTimestamp Method to timestamp value
setTimestamp Method (java.lang.String, java.sql.Timestamp)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerCallableStatement.setTimestamp (java.lang.String, java.sql.Timestamp)
Assembly

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