PSC_CE_INS_COMMENT

Stores the comments associated with code enforcement inspections.

Details

  • Schema: FUSION

  • Object owner: PSC_CE

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

PSC_CE_INS_COMMENT_PK

COMMENT_KEY

Columns

Name Datatype Length Precision Not-null Comments
COMMENT_KEY NUMBER 18 Yes Unique key to identify a inspection comment.
TRANSACTION_KEY NUMBER 18 Yes Indicates the inspection key to which the comment is associated.
TRANSACTION_PUID VARCHAR2 480 Yes To maintain legacy system transaction identifier
COMMENT_ID NUMBER 18 Yes Indicates the comment id from psc_com_comment table.
COMMENT_PUID VARCHAR2 480 Yes To maintain legacy system transaction comment identifier for reverse lookup
AGENCY_ID NUMBER 8 Yes Indicates the Agency ID of the Inspection comment.
MIGRATED_DATA_FLAG VARCHAR2 3 To indicate if the data row is inflight or history or PSCR data
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_CE_INS_COMMENT psc_ce_inspections TRANSACTION_KEY

Indexes

Index Uniqueness Tablespace Columns
PSC_CE_INS_COMMENT_N1 Non Unique Default TRANSACTION_KEY
PSC_CE_INS_COMMENT_PK Unique Default COMMENT_KEY
psc_ce_ins_comment_U1 Unique Default COMMENT_PUID