PROSPECTPLANMEDIALINK (4.0SP17)

This table contains media links belonging to prospect plans.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

AUTHORID

uniqueidentifier

true

The author of the media link.

PROSPECTPLANMEDIALINKTYPECODEID

uniqueidentifier

false

Indicates the user-defined type of this media link.

PROSPECTPLANID

uniqueidentifier

false

The constituent record to which this media link belongs.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEENTERED

datetime

false

The date the media link was entered.

TITLE

nvarchar(50)

false

''

The title of the media link.

MEDIAURL

UDT_WEBADDRESS

false

''

The web address of the associated document or media.

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_PROSPECTPLANMEDIALINK_AUTHORID

AUTHORID

False

False

False

IX_PROSPECTPLANMEDIALINK_DATEADDED

DATEADDED

False

False

True

IX_PROSPECTPLANMEDIALINK_DATECHANGED

DATECHANGED

False

False

False

IX_PROSPECTPLANMEDIALINK_PROSPECTPLANID

PROSPECTPLANID

False

False

False

PK_PROSPECTPLANMEDIALINK

ID

True

True

False

Triggers
Trigger Name Description

TR_PROSPECTPLANMEDIALINK_AUDIT_UPDATE

TR_PROSPECTPLANMEDIALINK_AUDIT_DELETE