Share via


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

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

Reference

SQLServerCallableStatement Class

Concepts

setTimestamp Method (SQLServerCallableStatement)

SQLServerCallableStatement Members