Table EventInd

Description of table EventInd

The event indicator table stores several indicators related to the test. The raw source values for the indicators are related to detailed descriptions of what the values are for and what they mean in the master codes (MstrCd and ValidMstrCd) tables. The groupings for indicators are Exception, Program Participation, Social Economic, Demographic and Test Conditions (stored in the IndGrp_ID column). The IndTyp_ID is the indicator type such as the Indian Education Flag. The IndMng_ID describes the meaning of the coded value for the indicator stored in the IndVal column.. Together these columns describe the meanings of the indicators for the test.


Code preview of table EventInd

use StudentCentered
go

if exists (select 1
from sysindexes
where id = object_id('dbo.EventInd')
and name = 'IndTyp_FK'
and indid > 0
and indid < 255)
drop index dbo.EventInd.IndTyp_FK
go

if exists (select 1
from sysindexes
where id = object_id('dbo.EventInd')
and name = 'Event_FK'
and indid > 0
and indid < 255)
drop index dbo.EventInd.Event_FK
go

if exists (select 1
from sysobjects
where id = object_id('dbo.EventInd')
and type = 'U')
drop table dbo.EventInd
go

/*==============================================================*/
/* Table: EventInd */
/*==============================================================*/
create table dbo.EventInd (
ID int not null,
SMFConfig_ID int null,
UnqTstEvent_ID int null,
IndSeq int not null,
IndGrp_ID int not null,
IndTyp_ID int not null,
IndMng_ID int null,
IndVal varchar(4) not null,
UpdtID varchar(18) null,
UpdtDt datetime null,
CrtrID varchar(18) null,
CrtDt datetime null,
EffDt datetime not null default getdate(),
EndDt datetime null,
LoadSeq_ID int null,
LoadDt datetime null,
constraint EventInd_PK primary key nonclustered (ID)
on LargeIDX
)
on LargeTBL
go

/*==============================================================*/
/* Index: Event_FK */
/*==============================================================*/
create index Event_FK on dbo.EventInd (
UnqTstEvent_ID,
SMFConfig_ID
)
on LargeIDX
go

/*==============================================================*/
/* Index: IndTyp_FK */
/*==============================================================*/
create index IndTyp_FK on dbo.EventInd (
IndTyp_ID
)
on LargeIDX
go


List of columns of the table EventInd

Name

Code

Event Indicator Identifier

ID

SMFConfig_ID

SMFConfig_ID

Unique Test Event Identifier

UnqTstEvent_ID

Indicator Sequence

IndSeq

Indicator Group Identifier

IndGrp_ID

Indicator Type Identifier

IndTyp_ID

Indicator Meaning

IndMng_ID

Indicator Value

IndVal

Update Identifier

UpdtID

Update Date

UpdtDt

Creator Identifier

CrtrID

Create Date

CrtDt

Effective Date

EffDt

End Date

EndDt

LoadSeq_ID

LoadSeq_ID

LoadDt

LoadDt


Column ID of the table EventInd

Card of the column ID of the table EventInd

Name

Event Indicator Identifier

Code

ID

Data Type

int

Mandatory

TRUE


Description of the column ID of the table EventInd

Unique ID assigned and maintained by the database for the EventInd table.


Column SMFConfig_ID of the table EventInd

Card of the column SMFConfig_ID of the table EventInd

Name

SMFConfig_ID

Code

SMFConfig_ID

Data Type

int

Mandatory

FALSE


Description of the column SMFConfig_ID of the table EventInd

Foreign key from the Standard Message Format Configuration (SMFConfig) table. This key represents a subject and year combination.


Column UnqTstEvent_ID of the table EventInd

Card of the column UnqTstEvent_ID of the table EventInd

Name

Unique Test Event Identifier

Code

UnqTstEvent_ID

Data Type

int

Mandatory

FALSE


Description of the column UnqTstEvent_ID of the table EventInd

Foreign key from the Unique Test Event (UnqTstEvent) table. This identifier is used to locate all versions of a given test in tables throughout the StudentCentered database.


Column IndSeq of the table EventInd

Card of the column IndSeq of the table EventInd

Name

Indicator Sequence

Code

IndSeq

Data Type

int

Mandatory

TRUE


Description of the column IndSeq of the table EventInd

This colum indicates the numeric order the indcator was posted in from the source record.


Column IndGrp_ID of the table EventInd

Card of the column IndGrp_ID of the table EventInd

Name

Indicator Group Identifier

Code

IndGrp_ID

Data Type

int

Mandatory

TRUE


Description of the column IndGrp_ID of the table EventInd

Indicators may be grouped together using this identifier. This is a foreign key to the MstrCd table where the indicator groups are stored. The groups are: Demographic, Exemption, Program Participation, Social Economic and Test Conditions.


Column IndTyp_ID of the table EventInd

Card of the column IndTyp_ID of the table EventInd

Name

Indicator Type Identifier

Code

IndTyp_ID

Data Type

int

Mandatory

TRUE


Description of the column IndTyp_ID of the table EventInd

The specific indicator type may be determined using this identifier. This is a foreign key to the MstrCd table where the indicator types are stored. There are several types, essentially one for every column of indicator data loaded. Some examples of the represented types are: AmerIndAlsknNtvEthnicFg, AppealTyp, AsianPacIslndrEthnicFg, ...


Column IndMng_ID of the table EventInd

Card of the column IndMng_ID of the table EventInd

Name

Indicator Meaning

Code

IndMng_ID

Data Type

int

Mandatory

FALSE


Description of the column IndMng_ID of the table EventInd

For every indicator there are a series of values that may be present to determine what is meant by the indicator. In most cases this is a simple yes / no (Y or N) but other indicators have many values. This is a foreign key to the ValidMstrCd table where the meaning of the specific value given is stored.


Column IndVal of the table EventInd

Card of the column IndVal of the table EventInd

Name

Indicator Value

Code

IndVal

Data Type

varchar(4)

Mandatory

TRUE


Description of the column IndVal of the table EventInd

This is the coded value given used to determine the meaning of the response given for an indicator.


Column UpdtID of the table EventInd

Card of the column UpdtID of the table EventInd

Name

Update Identifier

Code

UpdtID

Data Type

varchar(18)

Mandatory

FALSE


Description of the column UpdtID of the table EventInd

The user identification of the person or process that last updated the record in StudentCenteredStaging.


Column UpdtDt of the table EventInd

Card of the column UpdtDt of the table EventInd

Name

Update Date

Code

UpdtDt

Data Type

datetime

Mandatory

FALSE


Description of the column UpdtDt of the table EventInd

The date of the last update to the source row of data from StudentCenteredStaging.


Column CrtrID of the table EventInd

Card of the column CrtrID of the table EventInd

Name

Creator Identifier

Code

CrtrID

Data Type

varchar(18)

Mandatory

FALSE


Description of the column CrtrID of the table EventInd

The user identification of the person or process that created the record in StudentCenteredStaging.


Column CrtDt of the table EventInd

Card of the column CrtDt of the table EventInd

Name

Create Date

Code

CrtDt

Data Type

datetime

Mandatory

FALSE


Description of the column CrtDt of the table EventInd

The date the source row of data was created in StudentCenteredStaging.


Column EffDt of the table EventInd

Card of the column EffDt of the table EventInd

Name

Effective Date

Code

EffDt

Data Type

datetime

Mandatory

TRUE


Description of the column EffDt of the table EventInd

The date that this row of data becomes effective in StudentCentered.


Column EndDt of the table EventInd

Card of the column EndDt of the table EventInd

Name

End Date

Code

EndDt

Data Type

datetime

Mandatory

FALSE


Description of the column EndDt of the table EventInd

The date that this row of data ceases to be effective in StudentCentered.


Column LoadSeq_ID of the table EventInd

Card of the column LoadSeq_ID of the table EventInd

Name

LoadSeq_ID

Code

LoadSeq_ID

Data Type

int

Mandatory

FALSE


Description of the column LoadSeq_ID of the table EventInd

Foreign key from the Load Sequence (LoadSeq) table. Each load receives a unique identifier.


Column LoadDt of the table EventInd

Card of the column LoadDt of the table EventInd

Name

LoadDt

Code

LoadDt

Data Type

datetime

Mandatory

FALSE


Description of the column LoadDt of the table EventInd

The date the data was loaded into StudentCentered.