From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Anthony Apollis <anthony(dot)apollis(at)gmail(dot)com> |
Cc: | "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Using a Conversion Table |
Date: | 2024-02-14 14:31:56 |
Message-ID: | CAKFQuwY+iKAybHFBafVj6Va0oC3U2rAYX9Cw3VKvuAa-L76veg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wednesday, February 14, 2024, Anthony Apollis <anthony(dot)apollis(at)gmail(dot)com>
wrote:
>
> *Conversion Table :*
>
>
> CREATE TABLE IF NOT EXISTS dim."IMETA_Master_Currency_Data_TA_BR"
> (
> "Currency" character varying(255) COLLATE pg_catalog."default",
> "Currency name" character varying(255) COLLATE pg_catalog."default",
> "Currency from" character varying(255) COLLATE pg_catalog."default",
> "Scenario" character varying(255) COLLATE pg_catalog."default",
> "Fiscal year" double precision,
> "Fiscal period" character varying(255) COLLATE pg_catalog."default",
> "Currency from value" double precision,
> "Currency to value" double precision,
> "Loaddate" date
> )
>
Your data type choices are unconventional and even arguably wrong for using
double for currency.
>
> *I am getting no output for using:*
>
> FROM
> system."IMETA_ZTRB_MP$F_ZTBR_TA_BW2" z
> WHERE
> z."Fiscal_Year" = 2024
>
Your table contains no matching rows. The use of left join basically
precludes any other explanation.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2024-02-14 15:02:37 | Re: Using a Conversion Table |
Previous Message | Anthony Apollis | 2024-02-14 14:11:46 | Using a Conversion Table |