PV_LOC_TBL_VW(SQL View) |
Index Back |
---|
SELECT A.SETID , A.LOCATION , A.DESCR , B.COUNTRY_2CHAR , B.COUNTRY , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.COUNTY , A.STATE , A.POSTAL , A.COUNTRY_CODE , A.PHONE , A.EXTENSION FROM PS_LOCATION_TBL A , PS_COUNTRY_TBL B WHERE A.COUNTRY = B.COUNTRY AND A.EFFDT = ( SELECT MAX(T.EFFDT) FROM PS_LOCATION_TBL T WHERE T.EFFDT <= %CurrentDateIn AND T.LOCATION = A.LOCATION AND T.SETID = A.SETID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | COUNTRY_2CHAR | Character(2) | VARCHAR2(2) NOT NULL | 2-Char Country Code |
5 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
6 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
7 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
8 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
9 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
10 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
11 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
12 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
13 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
14 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | Int'l Prefix |
15 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
16 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | Phone Extension |