Mapping | Beskrivelse | Loadtype |
---|---|---|
DSA_STIL_DT_Anvisningsenheder_EDW_DT_Institution_STIL | Opretter DimInstitutionSTIL. | Full Load |
Beskrivelse | Expression |
---|---|
Betragtes som full load hvorfor der trunkeres ved hver kørsel. | TRUNCATE TABLE [$$EDW_DATABASE].[Dagtilbud].[DT_Institution_STIL]; |
Kildelag | Primær kilde tabel | FilterExpression på primær kildetabel | Destinationslag | Primær destinations tabel |
---|---|---|---|---|
DSA | [D180-10-2].DSA_STIL_DT_Anvisningsenheder | EDW | [Dagtilbud].DT_Institution_STIL |
Kildelag | Kildetabel | Kolonne | Forretningsregel | Destinationslag | Destinationstabel | Kolonne |
---|---|---|---|---|---|---|
DSA | [D180-10-2].DSA_STIL_DT_Anvisningsenheder | anvisningsenhedsNavn | EDW | [D180-10-2].DT_Institution_STIL | DaginstitutionsNavn | |
DSA | [D180-10-2].DSA_STIL_DT_Anvisningsenheder | anvisningsenhedsNummer | EDW | [D180-10-2].DT_Institution_STIL | AnvisningsenhedsNummer | |
DSA | [D180-10-2].DSA_STIL_DT_Anvisningsenheder | InstitutionsType | EDW | [D180-10-2].DT_Institution_STIL | Institutionstype | |
DSA | [D180-10-2].DSA_STIL_DT_Anvisningsenheder | kommuneKode | EDW | [D180-10-2].DT_Institution_STIL | Kommune | |
DSA | [D180-10-2].DSA_STIL_DT_Anvisningsenheder | pNummer | EDW | [D180-10-2].DT_Institution_STIL | P_Nummer |
Beskrivelse | Expression |
---|---|
Indsætter -1 række. | USE EDW IF OBJECT_ID('[Dagtilbud].[DT_Institution_STIL]','U') IS NOT NULL BEGIN IF NOT EXISTS (SELECT 'T' FROM [Dagtilbud].[DT_Institution_STIL] WHERE [DT_Institution_STILID] = -1 ) INSERT INTO [Dagtilbud].[DT_Institution_STIL]([DT_Institution_STILID]) VALUES (-1) UPDATE [Dagtilbud].[DT_Institution_STIL] SET [SYS_BusinessKeyFK] = -1 ,[SYS_HistorikFra] = '2007-01-01 00:00:00.000' ,[SYS_HistorikTil] = '9999-12-31 00:00:00.000' ,[DaginstitutionsNavn] = 'Ukendt' ,[Institutionstype] = 'Ukendt' ,[Kommune] = -1 ,[AnvisningsenhedsNummer] = 'Ukendt' ,[P_Nummer] = 'Ukendt' ,[SYS_KommuneId] = 999 WHERE [DT_Institution_STILID] = -1 END GO |