Hi,
I have a table with one of the columns configured to record dates as ('#', 'MM/DD/YYYY'). However, two entries in that column are of format YYYY and MM/YYYY. How can I change only those two entries preferably to Date but in formats above?
i tried to do:
[code=oracle]
"update table_name
set column_name = to_date('2008', 'YYYY')
where c_id = 12"
[/code]
but it records the date in format MM/DD/YYYY with values 03/01/2008 (i dont know how it selects this specific date).
If it is not possible to change the date format of the column without affecting the whole column, how can I change my two specific formats to strings?
Thank you for help.
I have a table with one of the columns configured to record dates as ('#', 'MM/DD/YYYY'). However, two entries in that column are of format YYYY and MM/YYYY. How can I change only those two entries preferably to Date but in formats above?
i tried to do:
[code=oracle]
"update table_name
set column_name = to_date('2008', 'YYYY')
where c_id = 12"
[/code]
but it records the date in format MM/DD/YYYY with values 03/01/2008 (i dont know how it selects this specific date).
If it is not possible to change the date format of the column without affecting the whole column, how can I change my two specific formats to strings?
Thank you for help.
Comment