Skip to content

APCCOMP (Historical table)

APCCOMP is to set out Administered Price Cap (APC) compensation periods for a participant.

Package

HISTORICAL_TABLES

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
APCID varchar(10) 🔑 varchar(10) 🔑 APC event identifier.
REGIONID varchar(10) varchar(10) Region
STARTDATE datetime(3) datetime2(0) Settlement start date
STARTPERIOD numeric(3, 0) smallint Settlement start period (1-48)
ENDDATE datetime(3) datetime2(0) Settlement end date
ENDPERIOD numeric(3, 0) smallint Settlement end period (1-48)
LASTCHANGED datetime(3) datetime2(0) Last date and time record changed

Official MMS data model indexes

Index name Index type Index columns (in order)
APCCOMP_LCX nonclustered LASTCHANGED
APCCOMP_PK clustered, unique, primary key APCID

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_APCCOMP_LASTCHANGED nonclustered LASTCHANGED
PK_APCCOMP clustered, unique, primary key APCID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
APCCOMP_LCX nonclustered LASTCHANGED
APCCOMP_PK clustered, unique, primary key APCID