CONSENTOPTION
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
CONTENTID | int | Default = 0 | ||
CAPTION | nvarchar(1024) | Default = '' | ||
SEQUENCE | int | Default = 0 | ||
ISREQUIRED | bit | Default = 0 | ||
SOLICITCODEID | uniqueidentifier | yes | ||
CONSENTCODE | tinyint | Default = 0 | ||
CONSENTNAME | nvarchar(200) | Default = '' | ||
SITEID | uniqueidentifier | yes | ||
CHANNELCODE | tinyint | Default = 0 | ||
DATEADDED | datetime | Default = getdate() | ||
DATECHANGED | datetime | Default = getdate() | ||
TS | timestamp | |||
TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_CONSENTOPTION_DATEADDED | DATEADDED | yes | ||
IX_CONSENTOPTION_DATECHANGED | DATECHANGED | |||
PK_CONSENTOPTION | ID | yes | yes |
Triggers
Trigger Name | Description |
---|---|
TR_CONSENTOPTION_AUDIT_UPDATE | |
TR_CONSENTOPTION_AUDIT_DELETE |