Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 LONGDESCRIPTIONID nvarchar(36)   Default = '' FK (not enforced) to the table pointed to in the PDCOMPOSITESEGMENTTABLELIST.
 ISDEFAULT bit   Default = 0 Is this the default value for the segment.
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 PDCOMPOSITESEGMENTMAPPINGID uniqueidentifier PDCOMPOSITESEGMENTMAPPING.ID The parent entry in the PDCOMPOSITESEGMENTMAPPING Table
 PDCOMPOSITESEGMENTTABLELISTID uniqueidentifier PDCOMPOSITESEGMENTTABLELIST.ID The parent entry in the PDCOMPOSITESEGMENTTABLELIST Table
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_PDCOMPOSITESEGMENTMAPPINGENTRY_DATEADDED DATEADDED    
 IX_PDCOMPOSITESEGMENTMAPPINGENTRY_DATECHANGED DATECHANGED      
 IX_PDCOMPOSITESEGMENTMAPPINGENTRY_PDCOMPOSITESEGMENTMAPPINGID PDCOMPOSITESEGMENTMAPPINGID      
 PK_PDCOMPOSITESEGMENTMAPPINGENTRY ID  

Trigger Name Description
 TR_PDCOMPOSITESEGMENTMAPPINGENTRY_IUD
 TR_PDCOMPOSITESEGMENTMAPPINGENTRY_AUDIT_UPDATE
 TR_PDCOMPOSITESEGMENTMAPPINGENTRY_AUDIT_DELETE

Entity-Relationship diagram of this table