EVENTIMPORT
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| IMPORTATTEMPT | tinyint | Default = 1 | ||
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) | |
| BATCHNUMBER | nvarchar(200) | Default = '' |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| ID | uniqueidentifier | EVENT.ID | ||
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| ISIMPORTINGBYUSERID | uniqueidentifier | yes | APPUSER.ID |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_EVENTIMPORT_DATEADDED | DATEADDED | yes | ||
| IX_EVENTIMPORT_DATECHANGED | DATECHANGED | |||
| PK_EVENTIMPORT | ID | yes | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_EVENTIMPORT_AUDIT_DELETE | |
| TR_EVENTIMPORT_AUDIT_UPDATE |