RE: Bug, feature, quirk? HELP - Mailing list pgsql-general

From Stoppel, Brett W
Subject RE: Bug, feature, quirk? HELP
Date
Msg-id AA33E10E16DAD411BDFD0008C7CF50E656374F@hawk.mail.ukans.edu
Whole thread Raw
In response to Bug, feature, quirk? HELP  ("Stoppel, Brett W" <bstoppel@ku.edu>)
List pgsql-general
Thanks Bill, Len, and Tom:

You suggestion of

    select distinct trim(name) as foo .... order by trim(name);

works wonderfully.


I do have another question about this though. Why does it this command work

    select name as foo .... order by trim(name);

when this does not

    select distinct name as foo .... order by trim(name);

Once again, thanks a million.

Brett

pgsql-general by date:

Previous
From: Adam Haberlach
Date:
Subject: Re: 7.1 on Solaris 8 run failure?
Next
From: Peter Eisentraut
Date:
Subject: Re: 7.1 on Solaris 8 run failure?