Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: date insertion error
mcstock wrote:
> yousaf,
>
> regarding the date error -- always use explicit date conversion (with the
> TO_DATE() function) when using string literals to populate oracle date
> columns. it is very possible that the session setting NLS_DATE_FORMAT will
> be different in different environments -- either because the DBA sets it
> differently in different databases or because some other code using the same
> session issues an ALTER SESSION statement to change it (this is especially a
> potential problem in web-based apps where sessions are re-used)
>
> regarding the hanging -- not enough details to provide any assistance --
> suggest you re-post with more details and a different subject
>
> -- mcs
yep. You and Daniel Morgan are correct.
One should always do explicit type conversions.
I stand corrected.
Janne! Received on Tue Nov 25 2003 - 08:17:55 CST