DimCheckTypeLoad
 DimCheckTypeLoad (Integration Services Package)
  Workflow Screenshot
  Properties
Property Value
Name DimCheckTypeLoad
Description This package will load any change to the DimCheckType 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.
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 scowan\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 320295f6-c87a-4459-a6e5-eb6f6e3eb8ad
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 329
Version Comments
Version Guid 667b2f90-7157-40f2-8dad-036ddf537c0a
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.
/* SQL INSERT into DimCheckType from New Temp Table */ INSERT INTO [EnterpriseDW].[dbo].[DimCheckType] (CheckTypeCodeAK ,CheckTypeCode ,CheckType ,RowIsCurrent ,RowStartDate ,RowEndDate) SELECT CheckTypeCodeAK ,CheckTypeCode ,CheckType ,RowIsCurrent ,RowStartDate ,RowEndDate FROM Staged_dbo_DimCheckType__New
" /* SQL INSERT into DimCheckType from New Temp Table */ INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimCheckType] (CheckTypeCodeAK ,CheckTypeCode ,CheckType ,RowIsCurrent ,RowStartDate ,RowEndDate) SELECT CheckTypeCodeAK ,CheckTypeCode ,CheckType ,RowIsCurrent ,RowStartDate ,RowEndDate FROM Staged_dbo_DimCheckType__New "
This variable contains the string that will be used to insert any new rows into the DimCheckType table.
/* Sample Update Type1 to Dim */ UPDATE [EnterpriseDW].[dbo].[DimCheckType] SET CheckTypeCodeAK = SCD1.CheckTypeCodeAK ,CheckTypeCode = SCD1.CheckTypeCode ,CheckType = SCD1.CheckType FROM [EnterpriseDW].[dbo].[DimCheckType] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimCheckType__Type1Update] AS SCD1 ON Dim.CheckTypeCodeAK = SCD1.CheckTypeCodeAK
" /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimCheckType] SET CheckTypeCodeAK = SCD1.CheckTypeCodeAK ,CheckTypeCode = SCD1.CheckTypeCode ,CheckType = SCD1.CheckType FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimCheckType] AS [DIM] INNER JOIN [dbo].[Staged_dbo_DimCheckType__Type1Update] AS SCD1 ON Dim.CheckTypeCodeAK = SCD1.CheckTypeCodeAK "
The SQL string that will update any changed rows in the DimCheckType dimension.
  System Variables
Name Value Expression Description
Powered by BI Documenter