DimUserLoad
 SCD1UpdateDimUser (Variable)
  Properties
Property Value
Name SCD1UpdateDimUser
Value Expression: " /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimUser] SET DomainUserId = SCD1.DomainUserId ,ApplicationUserId = SCD1.ApplicationUserId ,UserName = SCD1.UserName ,RowIsCurrent = SCD1.RowIsCurrent ,RowStartDate = SCD1.RowStartDate ,RowEndDate = SCD1.RowEndDate FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimUser] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimUser__Type1Update] AS SCD1 ON Dim.ApplicationUserId = SCD1.ApplicationUserId "

/* Sample Update Type1 to Dim */ UPDATE [EnterpriseDW].[dbo].[DimUser] SET DomainUserId = SCD1.DomainUserId ,ApplicationUserId = SCD1.ApplicationUserId ,UserName = SCD1.UserName ,RowIsCurrent = SCD1.RowIsCurrent ,RowStartDate = SCD1.RowStartDate ,RowEndDate = SCD1.RowEndDate FROM [EnterpriseDW].[dbo].[DimUser] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimUser__Type1Update] AS SCD1 ON Dim.ApplicationUserId = SCD1.ApplicationUserId
Value Type String
Description The SQL string that will update any changed rows in the DimOrgUnit dimension.
System Variable False
Namespace User
Qualified Name User::SCD1UpdateDimUser
Evaluate As Expression True
Expression " /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimUser] SET DomainUserId = SCD1.DomainUserId ,ApplicationUserId = SCD1.ApplicationUserId ,UserName = SCD1.UserName ,RowIsCurrent = SCD1.RowIsCurrent ,RowStartDate = SCD1.RowStartDate ,RowEndDate = SCD1.RowEndDate FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimUser] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimUser__Type1Update] AS SCD1 ON Dim.ApplicationUserId = SCD1.ApplicationUserId "
ID d46fb6fd-e48a-41c9-b823-d24774e927d3
Raise Changed Event False
Powered by BI Documenter