pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: Postgres for SQL Server users
Date: Tue, 7 May 2019 00:44:06 +0200
Message-ID: <712ada46-c2db-277d-63c0-a30bb0957471@gmx.net> (raw)
In-Reply-To: <1446815315.858684.1557179785091@mail.yahoo.com>
References: <1446815315.858684.1557179785091.ref@mail.yahoo.com>
	<1446815315.858684.1557179785091@mail.yahoo.com>

Ravi Krishna schrieb am 06.05.2019 um 23:56:
> I recently had to write an equivalent of UNPIVOT.

UNPIVOT is actually quite easy with Postgres:

https://blog.sql-workbench.eu/post/unpivot-with-postgres/

Thomas






view thread (19+ messages)  latest in thread

Message-ID: <712ada46-c2db-277d-63c0-a30bb0957471@gmx.net>
Permalink:  ../712ada46-c2db-277d-63c0-a30bb0957471@gmx.net/
Also on:    postgresql.org/message-id/712ada46-c2db-277d-63c0-a30bb0957471@gmx.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Postgres for SQL Server users
  In-Reply-To: <712ada46-c2db-277d-63c0-a30bb0957471@gmx.net>
  References: <1446815315.858684.1557179785091.ref@mail.yahoo.com> <1446815315.858684.1557179785091@mail.yahoo.com> <712ada46-c2db-277d-63c0-a30bb0957471@gmx.net>

* 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