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

Home -> Community -> Usenet -> c.d.o.server -> Re: Export Table Using QUERY Parameter with Dates

Re: Export Table Using QUERY Parameter with Dates

From: EdStevens <quetico_man_at_yahoo.com>
Date: 15 Oct 2005 14:32:34 -0700
Message-ID: <1129411954.733141.176830@g44g2000cwa.googlegroups.com>

melliott42_at_yahoo.com wrote:
> Hello,
>
> In Oracle9i on Sun Solaris 8 can someone please post an example of
> doing an export using the QUERY= parameter using a date range.
>
> The docs I have found have examples of text but no date examples and
> the syntax for QUERY= seems a bit tricky as you need control characters
> in some cases etc.
>
> For example how would this be implemented:
>
> SELECT to_date('2002-07-01','YYYY-MM-DD') FROM history
> BETWEEN to_date('2002-07-01','YYYY-MM-DD') AND
> to_date('2002-09-30','YYYY-MM-DD');
>
>
> Thanks very much,
>
> Michael

I've never used the QUERY on an export, but I see that your query is fundmentally flawed. You never actually specify a column in the table history, and there is no WHERE clause ..... Received on Sat Oct 15 2005 - 16:32:34 CDT

Original text of this message

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