DimUserLoad
 DimUserLoad (Integration Services Package)
  Workflow Screenshot
  Properties
Property Value
Name DimUserLoad
Description This package will load any change to the DimUser 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.
Checkpoint File Name
Checkpoint Usage Never
Check Signature On Load True
Creation Date Tuesday, May 08, 2012 4:11 PM
Creator Computer Name scowan
Creator Name ad\scowan
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 3e36eef9-0154-4df0-a39f-e34b4d3ac3e4
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 EncryptSensitiveWithUserKey
Save Checkpoints False
Suppress Configuration Warnings False
Suspend Required False
Transaction Option Supported
Update Objects False
Version Build 308
Version Comments
Version Guid 9c0e6b18-557b-4a53-b6d8-db54d2ba701c
Version Major 1
Version Minor 0
  Executables
Name Type Description
Data Flow Task
Data Flow Task
Data Flow Task
Data Flow Task
Sequence
Sequence Container
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
DELETE FROM [EnterpriseDW].[dbo].[DimZipCounty] WHERE ZipCountySK IN ( SELECT ZipCountySK FROM [dbo].[Obsolete_DimZipCounty] obs WHERE obs.DoNotDeleteFlag = 0 )
" DELETE FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimZipCounty] WHERE ZipCountySK IN ( SELECT ZipCountySK FROM [dbo].[Obsolete_DimZipCounty] obs WHERE obs.DoNotDeleteFlag = 0 ) "
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.
/* SQL INSERT into DimZipCounty from New Temp Table */ INSERT INTO [EnterpriseDW].[dbo].[DimZipCounty] (ZipCodeAK ,ZipCode ,CountyFIPS ,County ,City ,State ,RowIsCurrent ,RowStartDate ,RowEndDate) SELECT ZipCodeAK ,ZipCode ,CountyFIPS ,County ,City ,State ,RowIsCurrent ,RowStartDate ,RowEndDate FROM dbo.Staged_dbo_DimZipCounty__New
" /* SQL INSERT into DimZipCounty from New Temp Table */ INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimZipCounty] (ZipCodeAK ,ZipCode ,CountyFIPS ,County ,City ,State ,RowIsCurrent ,RowStartDate ,RowEndDate) SELECT ZipCodeAK ,ZipCode ,CountyFIPS ,County ,City ,State ,RowIsCurrent ,RowStartDate ,RowEndDate FROM dbo.Staged_dbo_DimZipCounty__New "
This variable contains the string that will be used to insert any new rows into the DimZipCounty table.
/* Sample Update Type1 to Dim */ UPDATE [EnterpriseDW].[dbo].[DimZipCounty] SET ZipCodeAK = SCD1.ZipCodeAK ,ZipCode = SCD1.ZipCode ,CountyFIPS = SCD1.CountyFIPS ,County = SCD1.County ,City = SCD1.City ,State = SCD1.State FROM [EnterpriseDW].[dbo].[DimZipCounty] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimZipCounty__Type1Update] AS SCD1 ON Dim.ZipCodeAK = SCD1.ZipCodeAK
" /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimZipCounty] SET ZipCodeAK = SCD1.ZipCodeAK ,ZipCode = SCD1.ZipCode ,CountyFIPS = SCD1.CountyFIPS ,County = SCD1.County ,City = SCD1.City ,State = SCD1.State FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimZipCounty] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimZipCounty__Type1Update] AS SCD1 ON Dim.ZipCodeAK = SCD1.ZipCodeAK "
The SQL string that will update any changed rows in the DimZipCounty dimension.
  System Variables
Name Value Expression Description
Powered by BI Documenter