Table Tst

Description of table Tst

This table is a collection of elements used to describe a group of tests offered for a specific subject and year. Each subject year has many offerings of different benchmarks, forms and so forth and this table is used to represent each of those distinct offerings.


Code preview of table Tst

use StudentCentered
go

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

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

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

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

/*==============================================================*/
/* Table: Tst */
/*==============================================================*/
create table dbo.Tst (
ID int not null,
TstYr varchar(4) not null,
TstStrtDt datetime null,
TstEndDt datetime null,
SbjctCd char(2) not null,
TstGrd char(2) null,
TstGrdBnd varchar(5) null,
TstBnch char(2) null,
LangCd char(1) null,
Mode char(1) null,
EffDt datetime not null default getdate(),
UpdtDt datetime not null default getdate(),
EndDt datetime null,
constraint Tst_PK primary key nonclustered (ID)
on SmallIDX
)
on SmallTBL
go

/*==============================================================*/
/* Index: AcdmYrSbjctCdTstGradeTstBnch_IDX */
/*==============================================================*/
create index AcdmYrSbjctCdTstGradeTstBnch_IDX on dbo.Tst (
TstYr,
SbjctCd,
TstGrd,
TstBnch
)
on SmallIDX
go

/*==============================================================*/
/* Index: SbjctCd_IDX */
/*==============================================================*/
create index SbjctCd_IDX on dbo.Tst (
SbjctCd
)
on SmallIDX
go

/*==============================================================*/
/* Index: TstGrade_IDX */
/*==============================================================*/
create index TstGrade_IDX on dbo.Tst (
TstGrd
)
on SmallIDX
go


List of columns of the table Tst

Name

Code

Test Identifier

ID

Test Year

TstYr

Test Start Date

TstStrtDt

Test End Date

TstEndDt

Subject

SbjctCd

Test Grade

TstGrd

Test Grade Band

TstGrdBnd

Test Bench

TstBnch

Language Code

LangCd

Mode

Mode

Effective Date

EffDt

Update Date

UpdtDt

End Date

EndDt


Column ID of the table Tst

Card of the column ID of the table Tst

Name

Test Identifier

Code

ID

Data Type

int

Mandatory

TRUE


Description of the column ID of the table Tst

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


Column TstYr of the table Tst

Card of the column TstYr of the table Tst

Name

Test Year

Code

TstYr

Data Type

varchar(4)

Mandatory

TRUE


Description of the column TstYr of the table Tst

Year the test was offered.


Column TstStrtDt of the table Tst

Card of the column TstStrtDt of the table Tst

Name

Test Start Date

Code

TstStrtDt

Data Type

datetime

Mandatory

FALSE


Description of the column TstStrtDt of the table Tst

Date the test was issued for use.


Column TstEndDt of the table Tst

Card of the column TstEndDt of the table Tst

Name

Test End Date

Code

TstEndDt

Data Type

datetime

Mandatory

FALSE


Description of the column TstEndDt of the table Tst

Date the test ceased to be used.


Column SbjctCd of the table Tst

Card of the column SbjctCd of the table Tst

Name

Subject

Code

SbjctCd

Data Type

char(2)

Mandatory

TRUE


Description of the column SbjctCd of the table Tst

A two digit abbeviation for the test subject.


Column TstGrd of the table Tst

Card of the column TstGrd of the table Tst

Name

Test Grade

Code

TstGrd

Data Type

char(2)

Mandatory

FALSE


Description of the column TstGrd of the table Tst

Student's Test grade of enrollment.


Column TstGrdBnd of the table Tst

Card of the column TstGrdBnd of the table Tst

Name

Test Grade Band

Code

TstGrdBnd

Data Type

varchar(5)

Mandatory

FALSE


Description of the column TstGrdBnd of the table Tst

The grade level form of the ELPA that the student took


Column TstBnch of the table Tst

Card of the column TstBnch of the table Tst

Name

Test Bench

Code

TstBnch

Data Type

char(2)

Mandatory

FALSE


Description of the column TstBnch of the table Tst

The benchmark being tested.
Bench 1 = grade 3,
Bench 2 = grade 5,
Bench 3 = grade 8
Bench 4 = grades 9, 10, 11. G1, G2, G3, G4, G6 and G7, KG


Column LangCd of the table Tst

Card of the column LangCd of the table Tst

Name

Language Code

Code

LangCd

Data Type

char(1)

Mandatory

FALSE


Description of the column LangCd of the table Tst

The language in which the test was presented to a student


Column Mode of the table Tst

Card of the column Mode of the table Tst

Name

Mode

Code

Mode

Data Type

char(1)

Mandatory

FALSE


Description of the column Mode of the table Tst

For Writing performance test only it indicates the mode of Writing for the selected Writing Topic. The valid values are currently N, E, P and I.


Column EffDt of the table Tst

Card of the column EffDt of the table Tst

Name

Effective Date

Code

EffDt

Data Type

datetime

Mandatory

TRUE


Description of the column EffDt of the table Tst

The date that this row of data becomes effective.


Column UpdtDt of the table Tst

Card of the column UpdtDt of the table Tst

Name

Update Date

Code

UpdtDt

Data Type

datetime

Mandatory

TRUE


Description of the column UpdtDt of the table Tst

The date of the last update.


Column EndDt of the table Tst

Card of the column EndDt of the table Tst

Name

End Date

Code

EndDt

Data Type

datetime

Mandatory

FALSE


Description of the column EndDt of the table Tst

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