TRX_EQTY_CTY_VW(SQL View) |
Index Back |
---|---|
Equity Country -> Currency |
SELECT DISTINCT B.EXCHG_CD , A.COUNTRY , A.CURRENCY_CD FROM PS_CURRENCY_CD_TBL A , PS_TRX_EXCHANGE_CD B WHERE A.COUNTRY = B.COUNTRY AND B. COUNTRY <> ' ' AND EXISTS ( SELECT MAX(EFFDT) FROM PS_CURRENCY_CD_TBL C WHERE C.CURRENCY_CD=A.CURRENCY_CD AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EXCHG_CD | Character(6) | VARCHAR2(6) NOT NULL | Trading exchange code |
2 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
3 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |