Sets the value for the specified SQLType.DATE type parameter using a date.
setDateParameter( UInt16 parameterID, Date value )
parameterID The ID number of the parameter. The first parameter in the result set has an ID value of one.
value The new value for the parameter.
Only the year, month, and day fields of the Date object are relevant.
The following statement sets a value for the first parameter to 2004/09/27:
stmt.setDateParameter( 1, new Date( 2004,9,27,0,0,0,0 ) ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |