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: date

Re: date

From: ianal Vista <ianal_vista_at_hotmail.com>
Date: Mon, 08 May 2006 00:45:01 GMT
Message-ID: <Xns97BCB49CFD749ianalvistahotmailcom@70.169.32.36>


"johnj" <u21624_at_uwe> wrote in news:5feb18ebb0f95_at_uwe:

> Is the select statement ok
>
> SELECT customerID, lname, fname, orderdate, SUM(c.cost,
> c.extracharges) * 100 AS percent
> FROM customer c, customerCharges ch
> WHERE c.customerID = ch.customerCharges
> AND orderdate>=TO_DATE('1/1/2001','DD/MM/YYYY')
> AND orderdate<TO_DATE('1/1/2002','DD/MM/YYYY')
>
> And also is it possible to specify two dates example
>
> AND (orderdate, shipdate)>=TO_DATE('1/1/2001','DD/MM/YYYY')
> AND (orderdate,shipdate)<TO_DATE('1/1/2002','DD/MM/YYYY')
>
> thanks
>

It appears that you either unwilling or incapable of RTFM found at http://tahiti.oracle.com
specifically
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm Received on Sun May 07 2006 - 19:45:01 CDT

Original text of this message

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