setDate Method (java.lang.String, java.sql.Date, java.util.Calendar)

DownloadDownload JDBC Driver

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

Syntax


public void setDate(java.lang.String sCol,  
                    java.sql.Date x,  
                    java.util.Calendar c)  

Parameters

n

An int that indicates the parameter number.

x

A Date object.

c

A Calendar object.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class