Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 FIRSTNAME nvarchar(50)   Default = '' Contains first names.
 GENDERCODE tinyint   Default = 0 0=Unknown, 1=Male, 2=Female
 GENDER nvarchar(7) (Computed) CASE [GENDERCODE] WHEN 0 THEN N'Unknown' WHEN 1 THEN N'Male' WHEN 2 THEN N'Female' END Provides a translation for the 'GENDERCODE' field.
 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
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_FIRSTNAMES_DATEADDED DATEADDED    
 IX_FIRSTNAMES_DATECHANGED DATECHANGED      
 PK_FIRSTNAMES ID  
 UC_FIRSTNAMES_FIRSTNAME FIRSTNAME    

Trigger Name Description
 TR_FIRSTNAMES_AUDIT_UPDATE
 TR_FIRSTNAMES_AUDIT_DELETE