KPIINSTANCEMILESTONE
Contains a list of values and dates which represent milestones on the way toward reaching the ultimate goal.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| VALUE |
decimal(19, 5) |
|
Default = 0 |
Value for the KPI instance milestone. |
| ASOFDATE |
datetime |
|
|
Date on which the milestone value is expected to be reached. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| UPWARDLOWVALUE |
decimal(19, 5) |
|
Default = 0 |
|
| UPWARDMIDVALUE |
decimal(19, 5) |
|
Default = 0 |
|
| DOWNWARDMIDVALUE |
decimal(19, 5) |
|
Default = 0 |
|
| DOWNWARDHIGHVALUE |
decimal(19, 5) |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| KPIINSTANCEID |
uniqueidentifier |
|
KPIINSTANCE.ID
|
KPI instance to which this milestone belongs. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_KPIINSTANCEMILESTONE_ASOFDATE |
ASOFDATE |
|
|
|
| IX_KPIINSTANCEMILESTONE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_KPIINSTANCEMILESTONE_DATECHANGED |
DATECHANGED |
|
|
|
| IX_KPIINSTANCEMILESTONE_KPIINSTANCEID |
KPIINSTANCEID |
|
|
|
| PK_KPIINSTANCEMILESTONE |
ID |
yes |
yes |
|
Triggers