TRACKRESOURCE (4.0SP14)

Lists the resources used by a track.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

TRACKID

uniqueidentifier

false

The track that the resource is used for.

RESOURCEID

uniqueidentifier

false

The resource associated with the track.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

QUANTITYNEEDED

int

false

0

The quantity of the resource needed for this track.

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_TRACKRESOURCE_DATEADDED

DATEADDED

False

False

True

IX_TRACKRESOURCE_DATECHANGED

DATECHANGED

False

False

False

PK_TRACKRESOURCE

ID

True

True

False

UIX_TRACKRESOURCE_TRACKID_RESOURCEID

TRACKID

RESOURCEID

True

False

False

Triggers
Trigger Name Description

TR_TRACKRESOURCE_AUDIT_UPDATE

TR_TRACKRESOURCE_AUDIT_DELETE