PATTERNBLOCKMEETING
Pattern Block Meetings
Primary Key
| Primary Key | Field Type | 
|---|---|
| ID | uniqueidentifier | 
Fields
| Field | Field Type | Null | Notes | Description | 
|---|---|---|---|---|
| DESCRIPTION | nvarchar(60) | Default = '' | The description of the meeting. | |
| STARTTIME | UDT_HOURMINUTE | Default = '' | Meeting start time | |
| ENDTIME | UDT_HOURMINUTE | Default = '' | Meeting end time | |
| LENGTHINPERIODS | int | Default = 0 | The number of periods a meeting overlaps | |
| 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 | 
|---|---|---|---|---|
| TIMETABLEDAYID | uniqueidentifier | TIMETABLEDAY.ID | The timetable day for which this meeting is defined | |
| PATTERNBLOCKID | uniqueidentifier | PATTERNBLOCK.ID | The pattern block for which this period is defined | |
| TIMETABLEDAYPERIODID | uniqueidentifier | yes | TIMETABLEDAYPERIOD.ID | The timetable day period for which this meeting is defined | 
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
Indexes
| Index Name | Fields | Unique | Primary | Clustered | 
|---|---|---|---|---|
| IX_PATTERNBLOCKMEETING_DATEADDED | DATEADDED | yes | ||
| IX_PATTERNBLOCKMEETING_DATECHANGED | DATECHANGED | |||
| PK_PATTERNBLOCKMEETING | ID | yes | yes | 
Triggers
| Trigger Name | Description | 
|---|---|
| TR_PATTERNBLOCKMEETING_INSERTUPDATE_STARTENDTIMEUPDATE | |
| TR_PATTERNBLOCKMEETING_AUDIT_UPDATE | |
| TR_PATTERNBLOCKMEETING_AUDIT_DELETE |