DB2Problem
Programmer
Hi ,
I am trying to update a date field using following command
update <schema_name>.<table_name> set <column_name_1> = '07/08/2003' where <coulm_name_2> = 9999
The above query updates the record for 9999 to 07/08/2003.
But i think i am specifying incorrect format for the date field (Because i do not see any results from the sql written in a java program).
I have used the above format because when i loaded the data in the table i used mm/dd/yyyy format for date field.
I need your feedback in understanding what format should i use when updating date fields in DB2 UDB..
Thanks
I am trying to update a date field using following command
update <schema_name>.<table_name> set <column_name_1> = '07/08/2003' where <coulm_name_2> = 9999
The above query updates the record for 9999 to 07/08/2003.
But i think i am specifying incorrect format for the date field (Because i do not see any results from the sql written in a java program).
I have used the above format because when i loaded the data in the table i used mm/dd/yyyy format for date field.
I need your feedback in understanding what format should i use when updating date fields in DB2 UDB..
Thanks