ORA-01840 input value not long enough for date format
We are using oracle 10g. We have a table which has a field called txn_time varchar2(255). The values are in this format: '2008/04/09 08:30:45.02'
But when we tried to insert '0' into this field ,it gave us the following sql error:
ORA-01840 input value not long enough for date format
Actually this is not a date field . It is a varchar field.
Why is this happening.Can't we insert '0' into varchar field....?
Please let me know if anyone knows answer for this.
Thanks in advance.