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

DownloadDownload JDBC Driver

Sets the designated parameter to the given date value.

Syntax


public void setDate(java.lang.String sCol,  
                    java.sql.Date d)  

Parameters

sCol

A String that contains the parameter name.

d

A Date 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