GM_XML_PERF_LOC(SQL View) |
Index Back |
---|
SELECT DISTINCT A.OPRID , A.RUN_CNTL_ID , A.PROPOSAL_ID , A.VERSION_ID , B.DESCR %Concat C.CITY %Concat C.STATE , B.DESCR , C.CITY , C.STATE , B.ADDRESS1 , B.ADDRESS2 , B.ADDRESS3 , B.ADDRESS4 , B.COUNTRY , B.COUNTY , B.POSTAL , %Substring(D.DESCR120, 1, 60) , B.PRIMARY_FLAG , %Substring(B.CONGRESSIONAL_DIST, 1, 6) , P.STATE_FORMAT , P.COUNTRY_FORMAT FROM PS_GM_XML_PROP_TBL A , PS_GM_EC_PERF_LOC B , PS_GM_EC_PERF_ADDR C , PS_GM_EC_INST D , PS_GM_STATE_CTRY_V P WHERE A.PROPOSAL_ID = B.PROPOSAL_ID AND A.VERSION_ID = B.VERSION_ID AND C.LOCATION = B.LOCATION AND C.OPRID = A.OPRID AND C.RUN_CNTL_ID = A.RUN_CNTL_ID AND C.OPRID = D.OPRID AND C.RUN_CNTL_ID = D.RUN_CNTL_ID AND A.PROPOSAL_ID = D.PROPOSAL_ID AND P.STATE = C.STATE AND P.COUNTRY = B.COUNTRY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). | |
2 | Character(30) | VARCHAR2(30) NOT NULL | Run Control ID | |
3 | PROPOSAL_ID | Character(25) | VARCHAR2(25) NOT NULL | Proposal ID |
4 | VERSION_ID | Character(7) | VARCHAR2(7) NOT NULL | Version ID |
5 | SITE_NAME | Character(125) | VARCHAR2(125) NOT NULL | |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
8 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
9 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
10 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
11 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
12 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
13 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
14 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
15 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
16 | ORG_LEG_NAME | Character(60) | VARCHAR2(60) NOT NULL | Organization Legal Name |
17 | PRIMARY_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Primary
N=No Y=Yes |
18 | CONGRESSIONAL_DIST | Character(40) | VARCHAR2(40) NOT NULL | Congressional District |
19 | STATE_FORMAT | Character(40) | VARCHAR2(40) NOT NULL | STATE FORMAT |
20 | COUNTRY_FORMAT | Character(40) | VARCHAR2(40) NOT NULL | COUNTRY FORMAT |