Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Error when accessing a DB-view via MS-Access / ODBC
kielhd_at_freenet.de (kielhd) wrote in message news:<10a4173d.0306052232.3908bf72_at_posting.google.com>...
> To have the date displayed in a different format, I changed line 6 to
>
> 6 to_char(to_date(COMPUTER.OS_INST_DATE, 'DY MON DD
> HH24:MI:SS YYYY'), 'DD.MM.YYYY') OS_INST_DATE,
>
> and the following error occured:
>
> ODBC Call failed
> [Oracle][ODBC][Ora]ORA-01846: not a valid day of the week (#1846).
Are you able to query this view from SQL*Plus without the error?
Is COMPUTER.OS_INST_DATE a varchar2 column? If so, why are you storing date information in a character column? It's going to be much more pleasant to store the data in a date column.
Justin Cave Received on Fri Jun 20 2003 - 16:01:47 CDT