PSC_COM_PROJECT_ADDRESS

This table stores the parcel address details pertaining to a project.

Details

  • Schema: FUSION

  • Object owner: PSC_CC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

PSC_COM_PROJECT_ADDRESS_PK

ADDRESS_KEY

Columns

Name Datatype Length Precision Not-null Comments
ADDRESS_KEY NUMBER 18 Yes Unique key to distinguish each address entry.
AGENCY_ID NUMBER 8 Yes Unique identifier for the Agency level Installation. Agency ID comes from the table PSC_COM_AGENCY_B.
PROJECT_CODE VARCHAR2 30 Yes Unique code to identify a project. This will be an alphanumeric number generated by the auto number generator.
PARCEL_KEY NUMBER 18 Yes Unique key to distinguish each parcel entry.
PRIMARY_FLAG VARCHAR2 1 Determines if the address is the primary parcel. A value of Y indicated primary contact.
PARCEL_ID NUMBER 18 Yes This column is used to indicate parcel id.
ADDRESS_ID NUMBER 18 Yes This column is used to indicate address id.
COUNTRY VARCHAR2 60 This column indicates the country for the parcel.
STATE VARCHAR2 60 This column indicates the state for the parcel.
COUNTY VARCHAR2 60 This column indicates the county for the parcel.
MUNICIPALITY_ID VARCHAR2 20 This column is used to indicate municipality id.
ADDRESS1 VARCHAR2 240 This column is used to indicate address1.
ADDRESS2 VARCHAR2 240 This column is used to indicate address2.
ADDRESS3 VARCHAR2 240 This column is used to indicate address3.
ADDRESS4 VARCHAR2 240 This column is used to indicate address4.
CITY VARCHAR2 60 This column indicates the city name for the parcel.
POSTAL_CODE VARCHAR2 60 This column indicates the postal code for the parcel.
STREET_NUMBER VARCHAR2 20 This column indicates the street number for the parcel.
STREET_DIRECTION VARCHAR2 10 This column is used to indicate street direction.
PROVINCE VARCHAR2 60 State code from the STATE_CODE_ISO column in the COM_STATE table.
POSTAL_PLUS4_CODE VARCHAR2 20 Four digit extension to the United States Postal ZIP.
STREET_NAME VARCHAR2 240 This column is used to indicate street name.
STREET_TYPE VARCHAR2 20 This column is used to indicate street type.
BUILDING_TYPE VARCHAR2 20 This column is used to indicate building type.
FLOOR VARCHAR2 20 This column is used to indicate floor.
UNIT_NUMBER VARCHAR2 30 This column is used to indicate unit number.
ADDRESS_FIELD1 VARCHAR2 20 This column is used to indicate address field1.
ADDRESS_FIELD2 VARCHAR2 20 This column is used to indicate address field2.
ADDRESS_FIELD3 VARCHAR2 20 This column is used to indicate address field3.
ADDRESS_TYPE VARCHAR2 20 This column is used to indicate address type.
EMAIL_ID VARCHAR2 50 This column is used to indicate email id.
HOME_PHONE_COUNTRY VARCHAR2 10 This column is used to indicate home phone country.
HOME_PHONE_NUM VARCHAR2 40 This column is used to indicate home phone num.
WORK_PHONE_COUNTRY VARCHAR2 10 This column is used to indicate work phone country.
WORK_PHONE_NUM VARCHAR2 40 This column is used to indicate work phone num.
CELL_PHONE_COUNTRY VARCHAR2 10 This column is used to indicate cell phone country.
CELL_PHONE_NUM VARCHAR2 40 This column is used to indicate cell phone num.
FAX_COUNTRY VARCHAR2 10 This column is used to indicate fax country.
FAX_NUM VARCHAR2 40 This column is used to indicate fax num.
LONGITUDE NUMBER This column is used to indicate longitude.
LATITUDE NUMBER This column is used to indicate latitude.
INPUT_SOURCE VARCHAR2 1 This column is used to indicate input source.
SRID NUMBER 10 This column is used to indicate srid.
SHAPE UDT Specifies coordinates of the location defined by the address. Special data type required to store.
COORDINATE_X NUMBER This column is used to indicate coordinate x.
COORDINATE_Y NUMBER This column is used to indicate coordinate y.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.

Foreign Keys

Table Foreign Table Foreign Key Column
PSC_COM_PROJECT_ADDRESS psc_com_project_parcel PARCEL_KEY
PSC_COM_PROJECT_ADDRESS psc_com_project AGENCY_ID, PROJECT_CODE

Indexes

Index Uniqueness Tablespace Columns
PSC_COM_PROJECT_ADDRESS_FK1 Non Unique Default PARCEL_KEY
PSC_COM_PROJECT_ADDRESS_FK2 Non Unique Default AGENCY_ID, PROJECT_CODE
PSC_COM_PROJECT_ADDRESS_PK Unique Default ADDRESS_KEY