Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 APPLYTOCODE tinyint   Default = 0 The type of constituent that this default applies to.
 PRIMARYADDRESSEE bit   Default = 0 Indicates whether or not this name format will be the primary addressee.
 PRIMARYSALUTATION bit   Default = 0 Indicates whether or not this name format will be the primary salutation.
 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.
 APPLYTO nvarchar(11) (Computed) CASE [APPLYTOCODE] WHEN 0 THEN N'Individuals' END Provides a translation for the 'APPLYTOCODE' field.

Foreign Key Field Type Null Notes Description
 NAMEFORMATTYPECODEID uniqueidentifier   NAMEFORMATTYPECODE.ID The addressee name format to use for new constituents.
 NAMEFORMATFUNCTIONID uniqueidentifier   NAMEFORMATFUNCTION.ID The addressee name format function to use for new constituents.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_NAMEFORMATDEFAULT_DATEADDED DATEADDED    
 IX_NAMEFORMATDEFAULT_DATECHANGED DATECHANGED      
 PK_NAMEFORMATDEFAULT ID  
 UIX_NAMEFORMATDEFAULT_APPLYTOCODE_NAMEFORMATTYPECODEID APPLYTOCODE, NAMEFORMATTYPECODEID    

Trigger Name Description
 TR_NAMEFORMATDEFAULT_AUDIT_UPDATE
 TR_NAMEFORMATDEFAULT_AUDIT_DELETE

Entity-Relationship diagram of this table