Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 SEQUENCE int   Default = 0 Stores the user-defined sequence for name formats on a constituent.
 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.
 PRIMARYADDRESSEE bit   Default = 0 Indicates whether or not this name format is the primary addressee.
 PRIMARYSALUTATION bit   Default = 0 Indicates whether or not this name format is the primary salutation.
 CUSTOMNAME nvarchar(700)   Default = ''
 FORMATTEDNAME nvarchar(700) (Computed) dbo.UFN_NAMEFORMAT_GETFORMATTEDNAME(NAMEFORMAT.ID) The formatted name based on the translation function.

Foreign Key Field Type Null Notes Description
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID FK to CONSTITUENT
 NAMEFORMATTYPECODEID uniqueidentifier   NAMEFORMATTYPECODE.ID FK to NAMEFORMATTYPECODE
 NAMEFORMATFUNCTIONID uniqueidentifier NAMEFORMATFUNCTION.ID FK to NAMEFORMATFUNCTION
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 SITEID uniqueidentifier SITE.ID FK to SITE

Index Name Field(s) Unique Primary Clustered
 IX_NAMEFORMAT_DATEADDED DATEADDED    
 IX_NAMEFORMAT_DATECHANGED DATECHANGED      
 IX_NAMEFORMAT_ID ID      
 IX_NAMEFORMAT_SITEID SITEID      
 PK_NAMEFORMAT ID  
 UIX_NAMEFORMAT_CONSTITUENTID_NAMEFORMATTYPECODEID CONSTITUENTID, NAMEFORMATTYPECODEID    

Trigger Name Description
 TR_NAMEFORMAT_AUDIT_UPDATE
 TR_NAMEFORMAT_AUDIT_DELETE

Referenced by Field
 NAMINGOPPORTUNITYRECOGNITION CONSTITUENTNAMEFORMATID

Entity-Relationship diagram of this table