STATE_NM_TX_VW(SQL View) |
Index Back |
---|---|
State Codes/Names (No Country)STATE_NM_TX_VW is a view of STATE_NAMES_TBL and STATE_TAX_TBL. |
SELECT A.STATE ,B.EFFDT ,B.EFF_STATUS ,A.DESCR FROM PS_STATE_TBL A ,PS_STATE_TAX_TBL B ,PS_INSTALLATION C WHERE A.COUNTRY = C.COUNTRY AND A.STATE = B.STATE AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_STATE_TAX_TBL WHERE STATE=B.STATE AND EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |