Re: Sort problem

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: "Samuel J(dot) Sutjiono" <ssutjiono(at)wc-group(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: Sort problem
Date: 2002-02-25 20:01:10
Message-ID: 1014667270.5761.15.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On Mon, 2002-02-25 at 17:17, Samuel J. Sutjiono wrote:
> I was trying to do the following sort (two attributes with different types), but I kept on getting errors.
>
> ORDER BY Price (data type - decimal), ProductName (data type - varchar)

There doesn't seem to be anything wrong with that phrase. You need to
show us the whole query and the error messages.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C

"Peace I leave with you, my peace I give unto you; not
as the world giveth, give I unto you. Let not your
heart be troubled, neither let it be afraid."
John 14:27

In response to

  • Sort problem at 2002-02-25 17:17:01 from Samuel J. Sutjiono

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-02-25 20:01:44 Re: Backup & Restore
Previous Message Samuel J. Sutjiono 2002-02-25 19:52:55 Re: [SQL] Sort problem

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2002-02-25 20:03:42 Re: [SQL] Sort problem
Previous Message Samuel J. Sutjiono 2002-02-25 19:52:55 Re: [SQL] Sort problem