共用方式為


setTimestamp Method (SQLServerPreparedStatement)

Sets the designated parameter to the given timestamp value.

Overload List

Name Description

setTimestamp (int, java.sql.Timestamp)

Sets the designated parameter to the given timestamp value.

setTimestamp (int, java.sql.Timestamp, java.util.Calendar)

Sets the designated parameter to the given timestamp and calendar values.

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members