EVENTPLANTASK (4.0SP14)

Contains information pertaining to event plan template tasks.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTPLANID

uniqueidentifier

false

FK to EVENTPLAN

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

NUMBEROFDAYS

int

false

0

OCCURRENCECODE

tinyint

false

0

0=Before, 1=After

OCCURRENCE

nvarchar(6) (Computed)

true

Provides a translation for the 'OCCURRENCECODE' field.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_EVENTPLANTASK_DATEADDED

DATEADDED

False

False

True

IX_EVENTPLANTASK_DATECHANGED

DATECHANGED

False

False

False

IX_EVENTPLANTASK_EVENTPLANID

EVENTPLANID

False

False

False

PK_EVENTPLANTASK

ID

True

True

False

Triggers
Trigger Name Description

TR_EVENTPLANTASK_AUDIT_UPDATE

TR_EVENTPLANTASK_AUDIT_DELETE