DimStudentObjectiveDeleteObsoleteRows
 DimStudentObjectiveDeleteObsoleteRows (Variables)
  User Defined Variables
Name Value Expression Description
Configuration setting from SSIS_Configuration to specify the domain where the e-mail server is running.
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.
/* Remove Student Objective Rows from DimStudentObjective for Old Students */ DELETE StObj FROM [EnterpriseDW].[dbo].[DimStudentObjective] AS StObj WHERE StudentId IN ( SELECT OldStudentIdAK FROM dbo.Obsolete_DimStudent as OldSt WHERE StObj.StudentId = OldSt.OldStudentIdAK )
" /* Remove Student Objective Rows from DimStudentObjective for Old Students */ DELETE StObj FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimStudentObjective] AS StObj WHERE StudentId IN ( SELECT OldStudentIdAK FROM dbo.Obsolete_DimStudent as OldSt WHERE StObj.StudentId = OldSt.OldStudentIdAK ) "
  System Variables
Name Value Expression Description
Powered by BI Documenter