Table Score

Description of table Score

This table holds integer based scores related to the test such as RAW, RIT, SEM and PCT scores related to a specific test event and score reporting category for the test.


Code preview of table Score

use StudentCentered
go

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

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

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

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

/*==============================================================*/
/* Table: Score */
/*==============================================================*/
create table dbo.Score (
ID int not null,
SMFConfig_ID int not null,
UnqTstEvent_ID int not null,
Ctgry_ID int not null,
ScoreTyp_ID int not null,
ScoreVal smallint 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 Score_PK primary key nonclustered (ID)
on LargeIDX
)
on LargeTBL
go

/*==============================================================*/
/* Index: UnqTstEvent_FK */
/*==============================================================*/
create index UnqTstEvent_FK on dbo.Score (
UnqTstEvent_ID
)
on LargeIDX
go

/*==============================================================*/
/* Index: Ctgry_FK */
/*==============================================================*/
create index Ctgry_FK on dbo.Score (
Ctgry_ID
)
on LargeIDX
go

/*==============================================================*/
/* Index: ScoreTyp_FK */
/*==============================================================*/
create index ScoreTyp_FK on dbo.Score (
ScoreTyp_ID
)
on LargeIDX
go


List of columns of the table Score

Name

Code

Score Identifier

ID

SMFConfig_ID

SMFConfig_ID

Unique Test Event Identifier

UnqTstEvent_ID

Category Identifier

Ctgry_ID

Score Type Identifier

ScoreTyp_ID

Score Value

ScoreVal

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 Score

Card of the column ID of the table Score

Name

Score Identifier

Code

ID

Data Type

int

Mandatory

TRUE


Description of the column ID of the table Score

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


Column SMFConfig_ID of the table Score

Card of the column SMFConfig_ID of the table Score

Name

SMFConfig_ID

Code

SMFConfig_ID

Data Type

int

Mandatory

TRUE


Description of the column SMFConfig_ID of the table Score

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


Column UnqTstEvent_ID of the table Score

Card of the column UnqTstEvent_ID of the table Score

Name

Unique Test Event Identifier

Code

UnqTstEvent_ID

Data Type

int

Mandatory

TRUE


Description of the column UnqTstEvent_ID of the table Score

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 Ctgry_ID of the table Score

Card of the column Ctgry_ID of the table Score

Name

Category Identifier

Code

Ctgry_ID

Data Type

int

Mandatory

TRUE


Description of the column Ctgry_ID of the table Score

Foreign key to the Category (Ctgry) table where the names of the score reporting category are held.


Column ScoreTyp_ID of the table Score

Card of the column ScoreTyp_ID of the table Score

Name

Score Type Identifier

Code

ScoreTyp_ID

Data Type

int

Mandatory

TRUE


Description of the column ScoreTyp_ID of the table Score

Foreign key to Master Codes (MstrCd) table for the Score Type. Examples of the type of scores loaded here are: RIT, RAW, PCT, and SEM as well as total scores.


Column ScoreVal of the table Score

Card of the column ScoreVal of the table Score

Name

Score Value

Code

ScoreVal

Data Type

smallint

Mandatory

FALSE


Description of the column ScoreVal of the table Score

The score value given for a score type within a category of score.


Column UpdtID of the table Score

Card of the column UpdtID of the table Score

Name

Update Identifier

Code

UpdtID

Data Type

varchar(18)

Mandatory

FALSE


Description of the column UpdtID of the table Score

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


Column UpdtDt of the table Score

Card of the column UpdtDt of the table Score

Name

Update Date

Code

UpdtDt

Data Type

datetime

Mandatory

FALSE


Description of the column UpdtDt of the table Score

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


Column CrtrID of the table Score

Card of the column CrtrID of the table Score

Name

Creator Identifier

Code

CrtrID

Data Type

varchar(18)

Mandatory

FALSE


Description of the column CrtrID of the table Score

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


Column CrtDt of the table Score

Card of the column CrtDt of the table Score

Name

Create Date

Code

CrtDt

Data Type

datetime

Mandatory

FALSE


Description of the column CrtDt of the table Score

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


Column EffDt of the table Score

Card of the column EffDt of the table Score

Name

Effective Date

Code

EffDt

Data Type

datetime

Mandatory

TRUE


Description of the column EffDt of the table Score

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


Column EndDt of the table Score

Card of the column EndDt of the table Score

Name

End Date

Code

EndDt

Data Type

datetime

Mandatory

FALSE


Description of the column EndDt of the table Score

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


Column LoadSeq_ID of the table Score

Card of the column LoadSeq_ID of the table Score

Name

LoadSeq_ID

Code

LoadSeq_ID

Data Type

int

Mandatory

FALSE


Description of the column LoadSeq_ID of the table Score

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


Column LoadDt of the table Score

Card of the column LoadDt of the table Score

Name

LoadDt

Code

LoadDt

Data Type

datetime

Mandatory

FALSE


Description of the column LoadDt of the table Score

The date the data was loaded into StudentCentered.