Re: [GENERAL] Order By Date Question

2009-09-08 Thread David Fetter
On Tue, Sep 08, 2009 at 06:29:28AM -0700, BlackMage wrote: > > I have a question about ordering by date. I have a table with two fields and > some date > > Name(character varying) | Event_Date(timestamp with timezone) > A |2009-09-10 5:30:00 > B

Re: [GENERAL] Order By Date Question

2009-09-08 Thread Sam Mason
On Tue, Sep 08, 2009 at 06:29:28AM -0700, BlackMage wrote: > I want to order by date and then by name, so I want the result A,B,C,D. The > problem is when I do a 'SELECT * FROM table_name ORDER BY Event_Date, DESC', > it includes the actual time (HH:MM:SS) so the order comes out B,A,D,C. > > So wh

Re: [GENERAL] Order By Date Question

2009-09-08 Thread Adrian Klaver
On Tuesday 08 September 2009 6:29:28 am BlackMage wrote: > I have a question about ordering by date. I have a table with two fields > and some date > > Name(character varying) | Event_Date(timestamp with timezone) > A |2009-09-10 5:30:00 > B

Re: [GENERAL] Order By Date Question

2009-09-08 Thread A. Kretschmer
In response to BlackMage : > > I have a question about ordering by date. I have a table with two fields and > some date > > Name(character varying) | Event_Date(timestamp with timezone) > A |2009-09-10 5:30:00 > B |2009-0

Re: [GENERAL] Order By Date Question

2009-09-08 Thread Bill Moran
In response to BlackMage : > > I have a question about ordering by date. I have a table with two fields and > some date > > Name(character varying) | Event_Date(timestamp with timezone) > A |2009-09-10 5:30:00 > B |2009-

[GENERAL] Order By Date Question

2009-09-08 Thread BlackMage
I have a question about ordering by date. I have a table with two fields and some date Name(character varying) | Event_Date(timestamp with timezone) A |2009-09-10 5:30:00 B |2009-09-10- 00:00:00 C