Re: Is it possible to make the order of output the same as the order of input parameters?

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Is it possible to make the order of output the same as the order of input parameters?
Date: 2010-06-02 12:25:14
Message-ID: 20100602122514.GA21298@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tim Landscheidt <tim(at)tim-landscheidt(dot)de> wrote:

> When using CASE, make sure you read the documentation to the
> end: I stumbled upon "CASE id WHEN 23 THEN 1 WHEN 56 THEN 2
> WHEN [...] END" only just recently by pure chance :-).

Yeah, you are right ;-)

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-06-02 12:36:00 Re: server-side extension in c++
Previous Message Alban Hertroys 2010-06-02 12:12:33 Re: create index concurrently - duplicate index to reduce time without an index