Table SMFFile

Description of table SMFFile

The Standard Message Format File table is a record of the file that a test event was loaded into StudentCenteredStaging through. The details of the file submitted are contained within the table.


Code preview of table SMFFile

use StudentCentered
go

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

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

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

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

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

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

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

/*==============================================================*/
/* Table: SMFFile */
/*==============================================================*/
create table dbo.SMFFile (
ID int not null,
RcvdFileNm varchar(255) not null,
FileCrtDt datetime not null default getdate(),
UploadDt datetime not null,
SavedFileNm varchar(255) null,
EmailAddr varchar(255) null,
SbmtIPAddr varchar(15) null,
StatFg char(1) null,
PrcDt datetime null,
CmpltdDt datetime null,
UpdtID varchar(18) null,
UpdtDt datetime null,
CrtrID varchar(18) null,
CrtDt datetime null,
Cmnt varchar(255) null,
LoadSeq_ID int null,
LoadDt datetime null,
constraint SMFFile_PK primary key nonclustered (ID)
on SMFIDX
)
on SMFTBL
go

/*==============================================================*/
/* Index: RcvdFileNm_IDX */
/*==============================================================*/
create index RcvdFileNm_IDX on dbo.SMFFile (
RcvdFileNm
)
on SMFIDX
go

/*==============================================================*/
/* Index: EmailAddr_IDX */
/*==============================================================*/
create index EmailAddr_IDX on dbo.SMFFile (
EmailAddr
)
on SMFIDX
go

/*==============================================================*/
/* Index: CrtrID_IDX */
/*==============================================================*/
create index CrtrID_IDX on dbo.SMFFile (
CrtrID
)
on SMFIDX
go

/*==============================================================*/
/* Index: CrtDt_IDX */
/*==============================================================*/
create index CrtDt_IDX on dbo.SMFFile (
CrtDt
)
on SMFIDX
go

/*==============================================================*/
/* Index: UpdtID_IDX */
/*==============================================================*/
create index UpdtID_IDX on dbo.SMFFile (
UpdtID
)
on SMFIDX
go

/*==============================================================*/
/* Index: UpdtDt_IDX */
/*==============================================================*/
create index UpdtDt_IDX on dbo.SMFFile (
UpdtDt
)
on SMFIDX
go


List of columns of the table SMFFile

Name

Code

Standard Message Format File Identifier

ID

Received File Name

RcvdFileNm

File Creation Date

FileCrtDt

Upload Date

UploadDt

Saved File Name

SavedFileNm

Email Address

EmailAddr

Submission Internet Protocol Address

SbmtIPAddr

Status Flag

StatFg

Process Date

PrcDt

Completed Date

CmpltdDt

Update Identifier

UpdtID

Update Date

UpdtDt

Creator Identifier

CrtrID

Create Date

CrtDt

Comment

Cmnt

LoadSeq_ID

LoadSeq_ID

LoadDt

LoadDt


Column ID of the table SMFFile

Card of the column ID of the table SMFFile

Name

Standard Message Format File Identifier

Code

ID

Data Type

int

Mandatory

TRUE


Description of the column ID of the table SMFFile

Unique ID assigned and maintained by the StudentCenteredStaging database for the SMFFile table.


Column RcvdFileNm of the table SMFFile

Card of the column RcvdFileNm of the table SMFFile

Name

Received File Name

Code

RcvdFileNm

Data Type

varchar(255)

Mandatory

TRUE


Description of the column RcvdFileNm of the table SMFFile

Name of the file submitted.


Column FileCrtDt of the table SMFFile

Card of the column FileCrtDt of the table SMFFile

Name

File Creation Date

Code

FileCrtDt

Data Type

datetime

Mandatory

TRUE


Description of the column FileCrtDt of the table SMFFile

Date the file was created on ODE's site.


Column UploadDt of the table SMFFile

Card of the column UploadDt of the table SMFFile

Name

Upload Date

Code

UploadDt

Data Type

datetime

Mandatory

TRUE


Description of the column UploadDt of the table SMFFile

Date file was uploaded to ODE.


Column SavedFileNm of the table SMFFile

Card of the column SavedFileNm of the table SMFFile

Name

Saved File Name

Code

SavedFileNm

Data Type

varchar(255)

Mandatory

FALSE


Description of the column SavedFileNm of the table SMFFile

Versioned name of the file submitted. In some cases the same file is submitted over and over, so a version is added to the file name to keep them separated.


Column EmailAddr of the table SMFFile

Card of the column EmailAddr of the table SMFFile

Name

Email Address

Code

EmailAddr

Data Type

varchar(255)

Mandatory

FALSE


Description of the column EmailAddr of the table SMFFile

Email address of the user who submitted the data from their central login application user record.


Column SbmtIPAddr of the table SMFFile

Card of the column SbmtIPAddr of the table SMFFile

Name

Submission Internet Protocol Address

Code

SbmtIPAddr

Data Type

varchar(15)

Mandatory

FALSE


Description of the column SbmtIPAddr of the table SMFFile

IP address of the machine used to submit the file.


Column StatFg of the table SMFFile

Card of the column StatFg of the table SMFFile

Name

Status Flag

Code

StatFg

Data Type

char(1)

Mandatory

FALSE


Description of the column StatFg of the table SMFFile

Status of the file to indicate if the file has been posted or in what phase of processing the file was in when it was loaded into StudentCentered.


Column PrcDt of the table SMFFile

Card of the column PrcDt of the table SMFFile

Name

Process Date

Code

PrcDt

Data Type

datetime

Mandatory

FALSE


Description of the column PrcDt of the table SMFFile

Date that the file started processing.


Column CmpltdDt of the table SMFFile

Card of the column CmpltdDt of the table SMFFile

Name

Completed Date

Code

CmpltdDt

Data Type

datetime

Mandatory

FALSE


Description of the column CmpltdDt of the table SMFFile

Date the file completed processing.


Column UpdtID of the table SMFFile

Card of the column UpdtID of the table SMFFile

Name

Update Identifier

Code

UpdtID

Data Type

varchar(18)

Mandatory

FALSE


Description of the column UpdtID of the table SMFFile

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


Column UpdtDt of the table SMFFile

Card of the column UpdtDt of the table SMFFile

Name

Update Date

Code

UpdtDt

Data Type

datetime

Mandatory

FALSE


Description of the column UpdtDt of the table SMFFile

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


Column CrtrID of the table SMFFile

Card of the column CrtrID of the table SMFFile

Name

Creator Identifier

Code

CrtrID

Data Type

varchar(18)

Mandatory

FALSE


Description of the column CrtrID of the table SMFFile

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


Column CrtDt of the table SMFFile

Card of the column CrtDt of the table SMFFile

Name

Create Date

Code

CrtDt

Data Type

datetime

Mandatory

FALSE


Description of the column CrtDt of the table SMFFile

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


Column Cmnt of the table SMFFile

Card of the column Cmnt of the table SMFFile

Name

Comment

Code

Cmnt

Data Type

varchar(255)

Mandatory

FALSE


Description of the column Cmnt of the table SMFFile

Comments about the file submitted.


Column LoadSeq_ID of the table SMFFile

Card of the column LoadSeq_ID of the table SMFFile

Name

LoadSeq_ID

Code

LoadSeq_ID

Data Type

int

Mandatory

FALSE


Description of the column LoadSeq_ID of the table SMFFile

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


Column LoadDt of the table SMFFile

Card of the column LoadDt of the table SMFFile

Name

LoadDt

Code

LoadDt

Data Type

datetime

Mandatory

FALSE


Description of the column LoadDt of the table SMFFile

The date the data was loaded into StudentCentered.