DimChartOfAccountLoad
 SCD1UpdateDimChartOfAccount (Variable)
  Properties
Property Value
Name SCD1UpdateDimChartOfAccount
Value Expression: " /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimChartOfAccount] SET YearGlAccountNumberAK = SCD1.YearGlAccountNumberAK ,GlAccountNumber = SCD1.GlAccountNumber ,FiscalYear = SCD1.FiscalYear ,AccountStatusCode = SCD1.AccountStatusCode ,AccountStatus = SCD1.AccountStatus ,StartDate = SCD1.StartDate ,EndDate = SCD1.EndDate ,IsAccountBudgeted = SCD1.IsAccountBudgeted ,BudgetPoolNo = SCD1.BudgetPoolNo FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimChartOfAccount] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimChartOfAccount__Type1Update] AS SCD1 ON Dim.YearGlAccountNumberAK = SCD1.YearGlAccountNumberAK "

/* Sample Update Type1 to Dim */ UPDATE [EnterpriseDW].[dbo].[DimChartOfAccount] SET YearGlAccountNumberAK = SCD1.YearGlAccountNumberAK ,GlAccountNumber = SCD1.GlAccountNumber ,FiscalYear = SCD1.FiscalYear ,AccountStatusCode = SCD1.AccountStatusCode ,AccountStatus = SCD1.AccountStatus ,StartDate = SCD1.StartDate ,EndDate = SCD1.EndDate ,IsAccountBudgeted = SCD1.IsAccountBudgeted ,BudgetPoolNo = SCD1.BudgetPoolNo FROM [EnterpriseDW].[dbo].[DimChartOfAccount] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimChartOfAccount__Type1Update] AS SCD1 ON Dim.YearGlAccountNumberAK = SCD1.YearGlAccountNumberAK
Value Type String
Description The SQL string that will update any changed rows in the DimStudentTerm dimension.
System Variable False
Namespace User
Qualified Name User::SCD1UpdateDimChartOfAccount
Evaluate As Expression True
Expression " /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimChartOfAccount] SET YearGlAccountNumberAK = SCD1.YearGlAccountNumberAK ,GlAccountNumber = SCD1.GlAccountNumber ,FiscalYear = SCD1.FiscalYear ,AccountStatusCode = SCD1.AccountStatusCode ,AccountStatus = SCD1.AccountStatus ,StartDate = SCD1.StartDate ,EndDate = SCD1.EndDate ,IsAccountBudgeted = SCD1.IsAccountBudgeted ,BudgetPoolNo = SCD1.BudgetPoolNo FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimChartOfAccount] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimChartOfAccount__Type1Update] AS SCD1 ON Dim.YearGlAccountNumberAK = SCD1.YearGlAccountNumberAK "
ID d46fb6fd-e48a-41c9-b823-d24774e927d3
Raise Changed Event False
Powered by BI Documenter