pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Samuel J. Sutjiono <ssutjiono@wc-group.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: Sort problem
Date: 25 Feb 2002 20:01:10 +0000
Message-ID: <1014667270.5761.15.camel@linda> (raw)
In-Reply-To: <016001c1be20$3d65fed0$110a010a@headquarters.wcgroup.com>
References: <016001c1be20$3d65fed0$110a010a@headquarters.wcgroup.com>

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.Elphick@lfix.co.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 




view thread (9+ messages)  latest in thread

Message-ID: <1014667270.5761.15.camel@linda>
Permalink:  ../1014667270.5761.15.camel@linda/
Also on:    postgresql.org/message-id/1014667270.5761.15.camel@linda

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olly@lfix.co.uk, ssutjiono@wc-group.com, pgsql-general@postgresql.org
  Subject: Re: Sort problem
  In-Reply-To: <1014667270.5761.15.camel@linda>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox