GM_EC_AWD202(SQL View) |
Index Back |
---|---|
ORG ADDR INFO |
SELECT A.SETID, A.INSTID, B.ADDRESS1, B.ADDRESS2, B.ADDRESS3, B.ADDRESS4, B.CITY, B.COUNTRY, B.COUNTY, B.IN_CITY_LIMIT, B.POSTAL, B.STATE FROM PS_LOCATION_TBL B, PS_GM_IN_ADDRESS A WHERE A.EFFDT=(SELECT MAX(D.EFFDT) FROM PS_GM_IN_ADDRESS D WHERE D.SETID=A.SETID AND D.INSTID=A.INSTID AND D.EFFDT<=%CURRENTDATEIN ) AND A.AWARD_FLAG ='Y' AND B.SETID=A.SETID AND B.LOCATION=A.LOCATION AND B.EFFDT=(SELECT MAX(C.EFFDT) FROM PS_LOCATION_TBL C WHERE C.SETID=B.SETID AND C.LOCATION=B.LOCATION AND C.EFFDT<=%CURRENTDATEIN ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | INSTID | Character(5) | VARCHAR2(5) NOT NULL | Institution ID |
3 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
4 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
5 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
6 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
7 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
8 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
9 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
10 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL | In City Limit |
11 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
12 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |