Skip to content

INTCONTRACT (Historical table)

INTCONTRACT shows intervention contract details. These are specific to each intervention.

Package

HISTORICAL_TABLES

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
CONTRACTID varchar(10) 🔑 varchar(10) 🔑 Intervention Contract Identifier
PARTICIPANTID varchar(10) varchar(10) Unique participant identifier
DUID varchar(10) varchar(10) Dispatchable Unit ID
STARTDATE datetime(3) datetime2(0) Starting Date of Contract
ENDDATE datetime(3) datetime2(0) Terminate Date of contract
STARTPERIOD numeric(3, 0) smallint Starting period of contract
ENDPERIOD numeric(3, 0) smallint Terminate period of contract in trading interval
DEREGISTRATIONDATE datetime(3) datetime2(0) Not Used
DEREGISTRATIONPERIOD numeric(3, 0) smallint Not Used
LASTCHANGED datetime(3) datetime2(0) Last changed date/time
REGIONID varchar(10) varchar(10) Region Identifier

Official MMS data model indexes

Index name Index type Index columns (in order)
INTCONTRACT_LCX nonclustered LASTCHANGED
INTCONTRACT_PK clustered, unique, primary key CONTRACTID

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_INTCONTRACT_LASTCHANGED nonclustered LASTCHANGED
PK_INTCONTRACT clustered, unique, primary key CONTRACTID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
INTCONTRACT_LCX nonclustered LASTCHANGED
INTCONTRACT_PK clustered, unique, primary key CONTRACTID