DimStudentTermLoad
 DimStudentTermLoad (Integration Services Package)
  Workflow Screenshot
  Properties
Property Value
Name DimStudentTermLoad
Description This package will load any change to the DimStudentTerm dimension. The first step in this package is to truncate all the working tables needed to track new and updated records. The next step will load the data into a staged table in DWOperations. The data will be checked if there are any duplicate records and these will be flagged. The data in the Staged Table will be compared against that in the dimension and will be inserted or updated as required. If any duplicate records were found, a notification e-mail will be send to the appropriate staff
Checkpoint File Name
Checkpoint Usage Never
Check Signature On Load True
Creation Date Tuesday, May 08, 2012 4:11 PM
Creator Computer Name ipeterson
Creator Name ipeterso\hetgroup
Debug Mode False
Delay Validation False
Disable False
Disable Event Handlers False
Enable Configurations True
Encrypt Checkpoints False
Fail Package On Failure False
Fail Parent On Failure False
Forced Execution Value 0
Force Execution Value None
Description False
ID 1c29f8e9-7a10-49a7-8278-4b3f1a0d20ce
Interactive Mode False
Is Default Locale ID False
Isolation Level Serializable
Locale ID 1033
Logging Mode Enabled
Max Concurrent Executables -1
Maximum Error Count 1
Offline Mode False
Package Type DTSDesigner100
Protection Level DontSaveSensitive
Save Checkpoints False
Suppress Configuration Warnings False
Suspend Required False
Transaction Option Supported
Update Objects False
Version Build 200
Version Comments
Version Guid 41a2a853-bd55-484f-90ce-785788dece97
Version Major 1
Version Minor 0
  Executables
Name Type Description
Data Flow Task
Data Flow Task
Data Flow Task
Data Flow Task
Task
Execute SQL Task
Task
Execute SQL Task
Task
Execute SQL Task
Task
Execute SQL Task
  Connection Managers
Name Description
  Log Providers
Name Description
  User Defined Variables
Name Value Expression Description
EnterpriseDW
Configuration setting in SSIS_Configurations that specifies the name of the Enterprise Data Warehouse.
N/A
If the Enterprise Data Warehouse resides on a different server from the DWStaging and DWoperations databases, a linked server must be defined and the name populated into the Var_EDWLinkedServername. If it resides on the same server, this setting must be set to ?N/A?. This is a configuration setting from SSIS_Configurations.
exec usp_DimStudentTerm_Select 'Jan 1 1900 12:00AM' , 'Mar 4 2016 10:33AM'
"exec usp_DimStudentTerm_Select '" + @[User::IncrementalBeginDtTm] + "' , '" + @[User::IncrementalEndDtTm] + "'"
This variable contains the execution string for the Stored Procedure that will retrieve the data from the source system.
Jan 1 1900 12:00AM
The IncrementalBeginDtTm setting will contain the start date and time for which updates will be extracted. This is a configuration setting from SSIS_Configurations that are set in the Control Package.
Mar 4 2016 10:33AM
The IncrementalEndDtTm setting will contain the End Date and Time for which updates will be extracted. These values will be compared against the RowUpdatedOn column on the tables in the DWStaging database to determine which rows to extract and load into the Enterprise Data Warehouse.
/* SQL INSERT into DimStudentTerm from New Temp Table */ INSERT INTO [EnterpriseDW].[dbo].[DimStudentTerm] ( StudentTermAK ,StudentId ,Term ,TermTitle ,ResidencyCode ,Residency ,ProgramCode ,Program ,ProgramAdmitStatus ,AcademicStatusCode ,AcademicStatus ,BasisOfAdmissionCode ,BasisOfAdmission ,EnrollmentStatusCode ,EnrollmentStatus ,AgeAtTerm ,AgeRangeAtTerm ,AwardTypeCode ,AwardType ,SdbAwardTypeCode ,Advised ,AdvisementStatusCode ,AdvisementStatus ,AdvisementMandatory ,DateLastAdvised ,AdvisementProgramCode ,AdvisementProgram ,AdvisementAwardTypeCode ,AdvisementAwardType ,AdvisementAdvisorId ,AdvisementAdvisor ,TransferMajorAdvisementCode ,TransferMajorAdvisement ,TransferInstitutionAdvisementId ,TransferInstitutionAdvisement ,RowIsCurrent ,RowStartDate ,RowEndDate ) SELECT StudentTermAK ,StudentId ,Term ,TermTitle ,ResidencyCode ,Residency ,ProgramCode ,Program ,ProgramAdmitStatus ,AcademicStatusCode ,AcademicStatus ,BasisOfAdmissionCode ,BasisOfAdmission ,EnrollmentStatusCode ,EnrollmentStatus ,AgeAtTerm ,AgeRangeAtTerm ,AwardTypeCode ,AwardType ,SdbAwardTypeCode ,Advised ,AdvisementStatusCode ,AdvisementStatus ,AdvisementMandatory ,DateLastAdvised ,AdvisementProgramCode ,AdvisementProgram ,AdvisementAwardTypeCode ,AdvisementAwardType ,AdvisementAdvisorId ,AdvisementAdvisor ,TransferMajorAdvisementCode ,TransferMajorAdvisement ,TransferInstitutionAdvisementId ,TransferInstitutionAdvisement ,RowIsCurrent ,RowStartDate ,RowEndDate FROM [dbo].[Staged_dbo_DimStudentTerm__New]
" /* SQL INSERT into DimStudentTerm from New Temp Table */ INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimStudentTerm] ( StudentTermAK ,StudentId ,Term ,TermTitle ,ResidencyCode ,Residency ,ProgramCode ,Program ,ProgramAdmitStatus ,AcademicStatusCode ,AcademicStatus ,BasisOfAdmissionCode ,BasisOfAdmission ,EnrollmentStatusCode ,EnrollmentStatus ,AgeAtTerm ,AgeRangeAtTerm ,AwardTypeCode ,AwardType ,SdbAwardTypeCode ,Advised ,AdvisementStatusCode ,AdvisementStatus ,AdvisementMandatory ,DateLastAdvised ,AdvisementProgramCode ,AdvisementProgram ,AdvisementAwardTypeCode ,AdvisementAwardType ,AdvisementAdvisorId ,AdvisementAdvisor ,TransferMajorAdvisementCode ,TransferMajorAdvisement ,TransferInstitutionAdvisementId ,TransferInstitutionAdvisement ,RowIsCurrent ,RowStartDate ,RowEndDate
This variable contains the string that will be used to insert any new rows into the DimStudentTerm table.
/* Sample Update Type1 to Dim */ UPDATE [EnterpriseDW].[dbo].[DimStudentTerm] SET StudentTermAK = SCD1.StudentTermAK ,StudentId = SCD1.StudentId ,Term = SCD1.Term ,TermTitle = SCD1.TermTitle ,ResidencyCode = SCD1.ResidencyCode ,Residency = SCD1.Residency ,ProgramCode = SCD1.ProgramCode ,Program = SCD1.Program ,ProgramAdmitStatus = SCD1.ProgramAdmitStatus ,AcademicStatusCode = SCD1.AcademicStatusCode ,AcademicStatus = SCD1.AcademicStatus ,BasisOfAdmissionCode = SCD1.BasisOfAdmissionCode ,BasisOfAdmission = SCD1.BasisOfAdmission ,EnrollmentStatusCode = SCD1.EnrollmentStatusCode ,EnrollmentStatus = SCD1.EnrollmentStatus ,AgeAtTerm = SCD1.AgeAtTerm ,AgeRangeAtTerm = SCD1.AgeRangeAtTerm ,AwardTypeCode = SCD1.AwardTypeCode ,AwardType = SCD1.AwardType ,SdbAwardTypeCode = SCD1.SdbAwardTypeCode ,Advised = SCD1.Advised ,AdvisementStatusCode = SCD1.AdvisementStatusCode ,AdvisementStatus = SCD1.AdvisementStatus ,AdvisementMandatory = SCD1.AdvisementMandatory ,DateLastAdvised = SCD1.DateLastAdvised ,AdvisementProgramCode = SCD1.AdvisementProgramCode ,AdvisementProgram = SCD1.AdvisementProgram ,AdvisementAwardTypeCode = SCD1.AdvisementAwardTypeCode ,AdvisementAwardType = SCD1.AdvisementAwardType ,AdvisementAdvisorId = SCD1.AdvisementAdvisorId ,AdvisementAdvisor = SCD1.AdvisementAdvisor ,TransferMajorAdvisementCode = SCD1.TransferMajorAdvisementCode ,TransferMajorAdvisement = SCD1.TransferMajorAdvisement ,TransferInstitutionAdvisementId = SCD1.TransferInstitutionAdvisementId ,TransferInstitutionAdvisement = SCD1.TransferInstitutionAdvisement FROM [EnterpriseDW].[dbo].[DimStudentTerm] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimStudentTerm__Type1Update] AS SCD1 ON Dim.StudentTermAK = SCD1.StudentTermAK
" /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimStudentTerm] SET StudentTermAK = SCD1.StudentTermAK ,StudentId = SCD1.StudentId ,Term = SCD1.Term ,TermTitle = SCD1.TermTitle ,ResidencyCode = SCD1.ResidencyCode ,Residency = SCD1.Residency ,ProgramCode = SCD1.ProgramCode ,Program = SCD1.Program ,ProgramAdmitStatus = SCD1.ProgramAdmitStatus ,AcademicStatusCode = SCD1.AcademicStatusCode ,AcademicStatus = SCD1.AcademicStatus ,BasisOfAdmissionCode = SCD1.BasisOfAdmissionCode ,BasisOfAdmission = SCD1.BasisOfAdmission ,EnrollmentStatusCode = SCD1.EnrollmentStatusCode ,EnrollmentStatus = SCD1.EnrollmentStatus ,AgeAtTerm = SCD1.AgeAtTerm ,AgeRangeAtTerm = SCD1.AgeRangeAtTerm ,AwardTypeCode = SCD1.A
The SQL string that will update any changed rows in the DimStudentTerm dimension.
  System Variables
Name Value Expression Description
Powered by BI Documenter