Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: cf query - wanting to set nls date
hillmw_at_charter.net says...
> No they dont't. Neither
>
> select * from abc where to_date(mydate)='7/27/2005';
to_char rather than to_date will work on the above.
> or
>
> select * from abc where mydate=to_date('7/27/2005');
to_date will definitely work on the above.
> work.
>
> You get an invalid month error.
Because you haven't added the optional parameter for the format mask and is it using the default format.
Geoff M Received on Tue Jul 26 2005 - 22:43:46 CDT
![]() |
![]() |