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 ordering problem

Re: Date ordering problem

From: <roger_ag_at_my-deja.com>
Date: Thu, 04 Jan 2001 08:03:37 GMT
Message-ID: <931aon$o5t$1@nnrp1.deja.com>

If you need a date sort of the column date_logged then you just have to leave this column in date format...

So try this:

select to_char(date_logged, 'DD-MON-YYYY')

      ,count(*)
  from log
 group by to_char(date_logged, 'DD-MON-YYYY')  order by date_logged
/

Roger

Sent via Deja.com
http://www.deja.com/ Received on Thu Jan 04 2001 - 02:03:37 CST

Original text of this message

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