REGISTRANTROLE (4.0SP20)

Used to store Participant roles

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

REGISTRANTID

uniqueidentifier

false

Foreign Key to REGISTRANT table

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ROLECODE

tinyint

false

0

Role Type

ROLE

nvarchar(17) (Computed)

true

Provides a translation for the 'ROLECODE' 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_REGISTRANTROLE_DATEADDED

DATEADDED

False

False

True

IX_REGISTRANTROLE_DATECHANGED

DATECHANGED

False

False

False

PK_REGISTRANTROLE

ID

True

True

False

UIX_REGISTRANTROLE_REGISTRANTID_ROLECODE

REGISTRANTID

ROLECODE

True

False

False

Triggers
Trigger Name Description

TR_REGISTRANTROLE_AUDIT_UPDATE

TR_REGISTRANTROLE_AUDIT_DELETE