Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
Id | int identity | 4 | √ | null |
|
|
||||
RecordId | int | 4 | null |
|
|
|||||
ReferralId | int | 4 | √ | null |
|
|
||||
StatusId | int | 4 | null |
|
|
|||||
DateCreated | datetime | 16,3 | null |
|
|
|||||
DateSent | datetime | 16,3 | √ | null |
|
|
||||
MessageData | xml | 1073741823 | √ | null |
|
|
||||
ErrorDetails | nvarchar | 1073741823 | √ | null |
|
|
||||
UserId | uniqueidentifier | 16 | null |
|
|
|||||
MirthId | int | 4 | √ | null |
|
|
||||
ControlId | nvarchar | 100 | √ | null |
|
|
||||
MessageTypeId | int | 4 | ((0)) |
|
|
|||||
TriggerSourceId | int | 4 | ((0)) |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_dbo.PortalMessages | Primary key | Asc | Id |
IX_MessageTypeId | Performance | Asc | MessageTypeId |
IX_StatusId | Performance | Asc | StatusId |
IX_TriggerSourceId | Performance | Asc | TriggerSourceId |