다음을 통해 공유


setDate Method (int, java.sql.Date)

Sets the designated parameter to the given date value.

public final void setDate(int n,
                          java.sql.Date x)

매개 변수

n

An int that indicates the parameter number.

x

A Date object.

예외

SQLServerException

주의

This setDate method is specified by the setDate method in the java.sql.PreparedStatement interface.

참고 항목

참조

SQLServerPreparedStatement Class

개념

setDate Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members