Condividi tramite


setDate Method (int, java.sql.Date, java.util.Calendar)

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

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

Parametri

n

An int that indicates the parameter number.

x

A Date object.

cal

A Calendar object.

Eccezioni

SQLServerException

Osservazioni

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

Vedere anche

Riferimento

SQLServerPreparedStatement Class

Concetti

setDate Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members