|
![]() |
Name | Value | Expression | Description |
Y |
Configuration setting in SSIS_Configurations that determines if Alerts will be send via e-mail in case of an abend or data problems |
||
DELETE
FROM
[EnterpriseDW] .[dbo].[DimEmployee]
WHERE EmployeeSK IN
(
SELECT EmployeeSK
FROM [dbo].[Obsolete_DimEmployee] obs
WHERE obs.DoNotDeleteFlag = 0
)
|
"
DELETE
FROM
" + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "] .[dbo].[DimEmployee]
WHERE EmployeeSK IN
(
SELECT EmployeeSK
FROM [dbo].[Obsolete_DimEmployee] obs
WHERE obs.DoNotDeleteFlag = 0
)
" |
This is the SQL statement that will delete obsolete records from the DimGlTransDetail table. |
|
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. |
||
The list of files to be attached to the e-mail detailing record counts and data validation issues. |
|||
Testing (text maintained in SSIS Configurations table) |
The text that will be coded in the body of the e-mail. This is an configuration setting in SSIS_Configurations that will be appended to the end of the e-mail. |
||
C:\DW Local Stuff\SSIS\ |
The directory on the File System where the files to be attached to the e-mail for notifications will be stored. This is a configuration setting from SSIS_Configurations. |
||
help@hetgroup.org |
Configuration setting from SSIS_Configurations that will specify the From E-mail address to be used in e-mail notifications. |
||
datawarehouse |
The configuration setting from SSIS_Configurations that specify the password used for the e-mail server when sending e-mail notifications. |
||
ipeterso@hetgroup.org |
The configuration setting from SSIS_Configurations that specify the To Email address when sending e-mail notifications. This cannot be multiple e-mail addresses, but can be a distribution list. |
||
windows |
The configuration setting from SSIS_Configurations that specify the userid used for the e-mail server when sending e-mail notifications. |
||
/* SQL INSERT into DimEmployee from New Temp Table */
INSERT INTO [EnterpriseDW].[dbo].[DimEmployee]
(EmployeeAK
,PersonID
,EmployeeTypeCode
,EmployeeType
,FullName
,LastName
,FirstName
,MiddleInitial
,GenderCode
,Gender
,EthnicityCode
,Ethnicity
,StateCode
,State
,ZipCode
,CountyFIPSCode
,County
,CountryCode
,Country
,CitizenshipCode
,Citizenship
,CountryOfCitizenshipCode
,CountryOfCitizenship
,HasActiveAssignment
,NumberOfActiveAssignments
,LastActiveAssignmentDateRange
,LastPayCheckDateRange
,PositionTypeCode
,PositionType
,FunctionCode
,FunctionDesc ,LocationCode
,Location
,PrimarySalaryAccountNumber
,IsAStudent
,EmployeeStudentId
,HasDirectDeposit
,HireDate
,EmployeeFulltimeParttime
,TerminationDate
,TerminationDateRange
,YearsOfServiceToInstitution ,DateOfBirth
,RowIsCurrent
,RowStartDate
,RowEndDate)
SELECT EmployeeAK
,PersonID
,EmployeeTypeCode
,EmployeeType
,FullName
,LastName
,FirstName
,MiddleInitial
,GenderCode
,Gender
,EthnicityCode
,Ethnicity
,StateCode
,State
,ZipCode
,CountyFIPSCode
,County
,CountryCode
,Country
,CitizenshipCode
,Citizenship
,CountryOfCitizenshipCode
,CountryOfCitizenship
,HasActiveAssignment
,NumberOfActiveAssignments
,LastActiveAssignmentDateRange
,LastPayCheckDateRange
,PositionTypeCode
,PositionType
,FunctionCode
,FunctionDesc ,LocationCode
,Location
,PrimarySalaryAccountNumber
,IsAStudent
,EmployeeStudentId
,HasDirectDeposit
,HireDate
,EmployeeFulltimeParttime
,TerminationDate
,TerminationDateRange
,YearsOfServiceToInstitution ,DateOfBirth
,RowIsCurrent
,RowStartDate
,RowEndDate
FROM [Staged_dbo_DimEmployee__New]
|
"
/* SQL INSERT into DimEmployee from New Temp Table */
INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimEmployee]
(EmployeeAK
,PersonID
,EmployeeTypeCode
,EmployeeType
,FullName
,LastName
,FirstName
,MiddleInitial
,GenderCode
,Gender
,EthnicityCode
,Ethnicity
,StateCode
,State
,ZipCode
,CountyFIPSCode
,County
,CountryCode
,Country
,CitizenshipCode
,Citizenship
,CountryOfCitizenshipCode
,CountryOfCitizenship
,HasActiveAssignment
,NumberOfActiveAssignments
,LastActiveAssignmentDateRange
,LastPayCheckDateRange
,PositionTypeCode
,PositionType
,FunctionCode
,FunctionDesc ,Locat |
This variable contains the string that will be used to insert any new rows into the DimEmployee table. |
|
0 |
The number of rows that were loaded into the Dimension. This is will be compared against the row count from the source system. |
||
/*
Sample Update Type1 to Dim
*/
UPDATE [EnterpriseDW].[dbo].[DimEmployee]
SET EmployeeAK = SCD1.EmployeeAK
,PersonID = SCD1.PersonID
,EmployeeTypeCode = SCD1.EmployeeTypeCode
,EmployeeType = SCD1.EmployeeType
,FullName = SCD1.FullName
,LastName = SCD1.LastName
,FirstName = SCD1.FirstName
,MiddleInitial = SCD1.MiddleInitial
,GenderCode = SCD1.GenderCode
,Gender = SCD1.Gender
,EthnicityCode = SCD1.EthnicityCode
,Ethnicity = SCD1.Ethnicity
,StateCode = SCD1.StateCode
,State = SCD1.State
,ZipCode = SCD1.ZipCode
,CountyFIPSCode = SCD1.CountyFIPSCode
,County = SCD1.County
,CountryCode = SCD1.CountryCode
,Country = SCD1.Country
,CitizenshipCode = SCD1.CitizenshipCode
,Citizenship = SCD1.Citizenship
,CountryOfCitizenshipCode = SCD1.CountryOfCitizenshipCode
,CountryOfCitizenship = SCD1.CountryOfCitizenship
,HasActiveAssignment = SCD1.HasActiveAssignment
,NumberOfActiveAssignments = SCD1.NumberOfActiveAssignments
,LastActiveAssignmentDateRange = SCD1.LastActiveAssignmentDateRange
,LastPayCheckDateRange = SCD1.LastPayCheckDateRange
,PositionTypeCode = SCD1.PositionTypeCode
,PositionType = SCD1.PositionType
,FunctionCode = SCD1.FunctionCode
,FunctionDesc = SCD1.FunctionDesc
,LocationCode = SCD1.LocationCode
,Location = SCD1.Location ,PrimarySalaryAccountNumber = SCD1.PrimarySalaryAccountNumber
,IsAStudent = SCD1.IsAStudent
,EmployeeStudentId = SCD1.EmployeeStudentId
,HasDirectDeposit = SCD1.HasDirectDeposit
,HireDate = SCD1.HireDate
,EmployeeFulltimeParttime = SCD1.EmployeeFulltimeParttime
,TerminationDate = SCD1.TerminationDate
,TerminationDateRange = SCD1.TerminationDateRange
,YearsOfServiceToInstitution = SCD1.YearsOfServiceToInstitution ,DateOfBirth = SCD1.DateOfBirth FROM [EnterpriseDW].[dbo].[DimEmployee] AS [DIM]
INNER JOIN [dbo].[Staged_dbo_DimEmployee__Type1Update] AS SCD1
ON Dim.EmployeeAK = SCD1.EmployeeAK
|
"
/*
Sample Update Type1 to Dim
*/
UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimEmployee]
SET EmployeeAK = SCD1.EmployeeAK
,PersonID = SCD1.PersonID
,EmployeeTypeCode = SCD1.EmployeeTypeCode
,EmployeeType = SCD1.EmployeeType
,FullName = SCD1.FullName
,LastName = SCD1.LastName
,FirstName = SCD1.FirstName
,MiddleInitial = SCD1.MiddleInitial
,GenderCode = SCD1.GenderCode
,Gender = SCD1.Gender
,EthnicityCode = SCD1.EthnicityCode
,Ethnicity = SCD1.Ethnicity
,StateCode = SCD1.StateCode
,State = SCD1.State
,ZipCode = SCD1.ZipCode
,CountyFIPSCode = SCD1.CountyFIPSCode
,County = SCD1.County
,CountryCode = SCD1.CountryCode
,Country = SCD1.Country
,CitizenshipCode = SCD1.CitizenshipCode
,Citizenship = SCD1.Citizenship
,CountryOfCitizenshipCode = SCD1.CountryOfCitizenshipCode
,CountryOfCitizens |
The SQL string that will update any changed rows in the DimEmployee dimension. |
|
c:\stubfile.txt |
Temporary file name that will be used to create the e-mail notifications. This is a configuration setting from SSIS_Configurations. |
||
25 |
The SMTPPort for the e-mail server to be used when sending notification e-mails. This is a configuration setting from SSIS_Configurations. |
||
www.ad.hetgroup.org |
The SMTP Server Name contains the name for the e-mail server. This is a configuration setting from SSIS_Configurations. |
||
0 |
This is the Row count from the Source System to compare against that of the DimCurriculum table to ensure that all records were copied. |
Name | Value | Expression | Description |
Powered by BI Documenter |