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.

  
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.

SQLServerException

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

SQLServerCallableStatement Members
SQLServerCallableStatement Class

Community Additions

ADD
Show: