EVENTLABEL
Label of the Event
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| LABELNAME | nvarchar(100) | Default = '' | name of the Event Label | |
| LABELVALUE | nvarchar(100) | Default = '' | value of the Event Label | |
| 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. |
| COPYSOURCEID | uniqueidentifier | yes | Original copy from ID | |
| COPYBATCHGUID | uniqueidentifier | yes | Copy batch ID |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| EVENTID | uniqueidentifier | EVENT.ID | Foreign Key to Event Table | |
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_EVENTLABEL_DATEADDED | DATEADDED | yes | ||
| IX_EVENTLABEL_DATECHANGED | DATECHANGED | |||
| IX_EVENTLABEL_EVENTID | EVENTID | |||
| PK_EVENTLABEL | ID | yes | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_EVENTLABEL_AUDIT_UPDATE | |
| TR_EVENTLABEL_AUDIT_DELETE |