Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 SEQUENCE int   Default = 0 Stores the user-defined sequence for the name format
 REMOVETRAILINGSPACE bit   Default = 0 Indicate a space will not be appended
 INITIAL bit   Default = 0 Indicate this field will only show the initial letter
 SMARTREMOVE bit   Default = 0 Indicate this field will not be displayed if the next field is blank or null
 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
 NAMEFORMATFUNCTIONID uniqueidentifier   NAMEFORMATFUNCTION.ID FK to NAMEFORMATFUNCTION
 NAMEFORMATFIELDID uniqueidentifier   NAMEFORMATFIELD.ID FK to NAMEFORMATFIELD
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_NAMEFORMATFUNCTIONDETAIL_DATEADDED DATEADDED    
 IX_NAMEFORMATFUNCTIONDETAIL_DATECHANGED DATECHANGED      
 PK_NAMEFORMATFUNCTIONDETAIL ID  

Trigger Name Description
 TR_NAMEFORMATFUNCTIONDETAIL_AUDIT_UPDATE
 TR_NAMEFORMATFUNCTIONDETAIL_AUDIT_DELETE

Entity-Relationship diagram of this table