FAFGOALTYPE
Goal types for Faf Event
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
NAME | nvarchar(250) | Default = '' | Name of the Goal Type | |
DESCRIPTION | nvarchar(2000) | Default = '' | Description for Goal Type | |
ISACTIVE | bit | Default = 1 | Indicates whether the Goal Type is active or not | |
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) | yes | CONVERT(bigint, TS) | Numeric representation of the timestamp. |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_FAFGOALTYPE_DATEADDED | DATEADDED | yes | ||
IX_FAFGOALTYPE_DATECHANGED | DATECHANGED | |||
PK_FAFGOALTYPE | ID | yes | yes | |
UIX_FAFGOALTYPE_NAME | NAME | yes |
Triggers
Trigger Name | Description |
---|---|
TR_FAFGOALTYPE_AUDIT_UPDATE | |
TR_FAFGOALTYPE_AUDIT_DELETE |