Value |
Expression: "
/* SQL INSERT into DimOrgUnit from New Temp Table */
INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimOrgUnit]
(
OrgUnitAK
,OrgUnit
,OrgUnitName
,OrgUnitStatusCode
,OrgUnitStatus
,FundCode
,Fund
,FunctionCode
,FunctionDescription
,SubFunctionCode
,SubFunction
,StateOrgUnit, LocationCode
,Location
,Qual1
,ControlOrgUnit
,ControlOrgUnitName
,BudgetManagerId
,BudgetManager
,UserGroupId
,UserGroup
,PrincipalAdminId
,PrincipalAdmin
,ProjectNumber
,ReportDistributionCode
,ReportDistribution
,OrgUnitGrouping
,StartDate
,EndDate
,RowIsCurrent
,RowStartDate
,RowEndDate)
SELECT Org
/* SQL INSERT into DimOrgUnit from New Temp Table */
INSERT INTO [EnterpriseDW].[dbo].[DimOrgUnit]
(
OrgUnitAK
,OrgUnit
,OrgUnitName
,OrgUnitStatusCode
,OrgUnitStatus
,FundCode
,Fund
,FunctionCode
,FunctionDescription
,SubFunctionCode
,SubFunction
,StateOrgUnit, LocationCode
,Location
,Qual1
,ControlOrgUnit
,ControlOrgUnitName
,BudgetManagerId
,BudgetManager
,UserGroupId
,UserGroup
,PrincipalAdminId
,PrincipalAdmin
,ProjectNumber
,ReportDistributionCode
,ReportDistribution
,OrgUnitGrouping
,StartDate
,EndDate
,RowIsCurrent
,RowStartDate
,RowEndDate)
SELECT OrgUnitAK
,OrgUnit
,OrgUnitName
,OrgUnitStatusCode
,OrgUnitStatus
,FundCode
,Fund
,FunctionCode
,FunctionDescription
,SubFunctionCode
,SubFunction
,StateOrgUnit, LocationCode
,Location
,Qual1
,ControlOrgUnit
,ControlOrgUnitName
,BudgetManagerId
,BudgetManager
,UserGroupId
,UserGroup
,PrincipalAdminId
,PrincipalAdmin
,ProjectNumber
,ReportDistributionCode
,ReportDistribution
,OrgUnitGrouping
,StartDate
,EndDate
,RowIsCurrent
,RowStartDate
,RowEndDate
FROM [dbo].[Staged_dbo_DimOrgUnit__New]
|
Expression |
"
/* SQL INSERT into DimOrgUnit from New Temp Table */
INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimOrgUnit]
(
OrgUnitAK
,OrgUnit
,OrgUnitName
,OrgUnitStatusCode
,OrgUnitStatus
,FundCode
,Fund
,FunctionCode
,FunctionDescription
,SubFunctionCode
,SubFunction
,StateOrgUnit, LocationCode
,Location
,Qual1
,ControlOrgUnit
,ControlOrgUnitName
,BudgetManagerId
,BudgetManager
,UserGroupId
,UserGroup
,PrincipalAdminId
,PrincipalAdmin
,ProjectNumber
,ReportDistributionCode
,ReportDistribution
,OrgUnitGrouping
,StartDate
,EndDate
,RowIsCurrent
,RowStartDate
,RowEndDate)
SELECT Org |