Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: cf query - wanting to set nls date

Re: cf query - wanting to set nls date

From: Jim Kennedy <kennedy-downwithspammersfamily_at_attbi.net>
Date: Tue, 26 Jul 2005 19:26:35 -0700
Message-ID: <h6CdnZnS4PMFbXvfRVn-jw@comcast.com>

"mike" <hillmw_at_charter.net> wrote in message news:1122430586.856120.254410_at_o13g2000cwo.googlegroups.com...
> well i didn't want to alter the sql string
>
> select * from abc where mydate='7/27/2005';
>
> additionally to_date() only works in select clause not the where clause
> of the statement.
>
> The other option I have is to use javascript to convert the date to
> 27-Jul-2005 and then use in my sql.
>
> Any other thoughts appreciated.
>

Yes, it does work in the where clause.
Jim Received on Tue Jul 26 2005 - 21:26:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US