共用方式為


setObject Method (SQLServerPreparedStatement)

Sets the value of the designated parameter by using the given object.

Overload List

Name Description

setObject (int, java.lang.Object)

Sets the value of the designated parameter by using the given object.

setObject (int, java.lang.Object, int)

Sets the value of the designated parameter by using the given object and target type.

setObject (int, java.lang.Object, int, int)

Sets the value of the designated parameter by using the given object, target type, and scale.

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members