APPEALDESIGNATION
Stores default designations for appeal records.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| 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. |
| ISDEFAULT |
bit |
|
Default = 0 |
Indicates that this is the default designation for the appeal. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| APPEALID |
uniqueidentifier |
|
APPEAL.LOCALID
|
The appeal record to which this designation belongs. |
| DESIGNATIONID |
uniqueidentifier |
|
DESIGNATION.ID
|
The designation record for this appeal. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_APPEALDESIGNATION_DATEADDED |
DATEADDED |
|
|
yes |
| IX_APPEALDESIGNATION_DATECHANGED |
DATECHANGED |
|
|
|
| PK_APPEALDESIGNATION |
ID |
yes |
yes |
|
| UIX_APPEALDESIGNATION_APPEALID_DESIGNATIONID |
APPEALID, DESIGNATIONID |
yes |
|
|
Triggers