Sets the value for the specified column using a Date.
setDate( UInt16 columnID, Date value)
columnID The ID number of the column. The first column in the table has an ID value of one.
value The new value for the column.
The data in the row is not actually changed until you execute an insert or update, and that change is not permanent until it is committed.
The following statement sets the value of the first column to 2004/09/27:
t.setDate( 1, new Date( 2004,9,27,0,0,0,0 ) ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |