Name |
DeleteFromDimension |
Value |
Expression: "
DELETE
FROM
" + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "] .[dbo].[DimCurriculum]
WHERE CurriculumSK IN
(
SELECT CurriculumSK
FROM [dbo].[Obsolete_DimCurriculum] obs
WHERE obs.DoNotDeleteFlag = 0
)
"
DELETE
FROM
[EnterpriseDW] .[dbo].[DimCurriculum]
WHERE CurriculumSK IN
(
SELECT CurriculumSK
FROM [dbo].[Obsolete_DimCurriculum] obs
WHERE obs.DoNotDeleteFlag = 0
)
|
Value Type |
String |
Description |
This contains the Delete Statement to delete rows from the dimension that have been deleted in the Source System. |
System Variable |
False |
Namespace |
User |
Qualified Name |
User::DeleteFromDimension |
Evaluate As Expression |
True |
Expression |
"
DELETE
FROM
" + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "] .[dbo].[DimCurriculum]
WHERE CurriculumSK IN
(
SELECT CurriculumSK
FROM [dbo].[Obsolete_DimCurriculum] obs
WHERE obs.DoNotDeleteFlag = 0
)
" |
ID |
b818a4eb-cf66-43b9-848a-f5621ad7a6bf |
Raise Changed Event |
False |