VIDEO (4.0SP20)

Links videos to participants

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTID

uniqueidentifier

true

The event id related to this video

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CONSTITUENTID

uniqueidentifier

true

The constituent id related to this video

Fields
Field Field Type Null Notes Description

VIDEOID

nvarchar(50)

false

''

NAME

nvarchar(100)

false

''

CAPTION

nvarchar(250)

false

''

URL

nvarchar(500)

false

''

STATUS

nvarchar(2)

false

''

FILEPATH

nvarchar(1000)

false

''

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.

TYPECODE

tinyint

false

0

Type

TYPE

nvarchar(11) (Computed)

true

Provides a translation for the 'TYPECODE' field.

PRIVATE

bit

false

0

Flag videos only viewable by participant.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_VIDEO_CONSTITUENTID_EVENTID

CONSTITUENTID

EVENTID

False

False

False

IX_VIDEO_DATEADDED

DATEADDED

False

False

True

IX_VIDEO_DATECHANGED

DATECHANGED

False

False

False

PK_VIDEO

ID

True

True

False

Triggers
Trigger Name Description

TR_VIDEO_AUDIT_UPDATE

TR_VIDEO_AUDIT_DELETE