What the best way to work around this? I have the same SELECT statement but there are different criteria depending on the IF check. Well, if you happen to be using Sql Server you can do that sort of ...
概要 PostgreSQLでは、一時的な作業用テーブルとして一時テーブルを作成できる。 一時テーブルは、作成したセッション内でのみ使用できる。 セッション終了時には自動で削除されるため、中間データの保持や一時的な集計処理などに利用できる。 基本形 code ...