Fwd: TSQL To Postgres - Unpivot/Union All

Поиск
Список
Период
Сортировка
От Anthony Apollis
Тема Fwd: TSQL To Postgres - Unpivot/Union All
Дата
Msg-id CAJyMCYJDiY6hoLdtM=T2nc8rnZTxBbNOr0mHsJ5v6OPtes6B0Q@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: TSQL To Postgres - Unpivot/Union All  (Anthony Apollis <anthony.apollis@gmail.com>)
Ответы Re: TSQL To Postgres - Unpivot/Union All  (Geoff Winkless <pgsqladmin@geoff.dj>)
Список pgsql-general


---------- Forwarded message ---------
From: Anthony Apollis <anthony.apollis@gmail.com>
Date: Thu, 20 Jul 2023 at 16:07
Subject: Re: TSQL To Postgres - Unpivot/Union All
To: Geoff Winkless <pgsqladmin@geoff.dj>, David G. Johnston <david.g.johnston@gmail.com>


I am attaching my TSQL and Postgres SQL:

On Thu, 20 Jul 2023 at 15:58, Geoff Winkless <pgsqladmin@geoff.dj> wrote:
On Thu, 20 Jul 2023 at 13:17, Anthony Apollis <anthony.apollis@gmail.com> wrote:
The Postgres i used: INSERT INTO temp_FieldFlowsFact
SELECT "Account", "Calendar day", "Financial year", "Period",

[snip]

At the very least, include a column list in your INSERT statement. We have no way of checking where any of your results are going.

Geoff
Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: gzh
Дата:
Сообщение: Re: How to improve the performance of my SQL query?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Nu-B here