CREATE TABLE [D110-10-1].[DSAHIST_Prisme09_Konti_Årsopdelt](
  [KONTONR] [varchar](50) COLLATE Norwegian_100_CI_AS NULL,
  [F1] [int] NULL,
  [F2] [int] NULL,
  [F3] [int] NULL,
  [F4] [int] NULL,
  [F5] [int] NULL,
  [F6] [int] NULL,
  [F7] [int] NULL,
  [D1] [int] NULL,
  [D2] [int] NULL,
  [D3] [int] NULL,
  [D4] [int] NULL,
  [D5] [int] NULL,
  [D6] [int] NULL,
  [D7] [int] NULL,
  [E1] [int] NULL,
  [E2] [int] NULL,
  [E3] [int] NULL,
  [E4] [int] NULL,
  [E5] [int] NULL,
  [E6] [int] NULL,
  [E7] [int] NULL,
  [S1] [int] NULL,
  [S2] [int] NULL,
  [S3] [int] NULL,
  [S4] [int] NULL,
  [S5] [int] NULL,
  [S6] [int] NULL,
  [S7] [int] NULL,
  [G1] [int] NULL,
  [G2] [int] NULL,
  [G3] [int] NULL,
  [G4] [int] NULL,
  [G5] [int] NULL,
  [G6] [int] NULL,
  [G7] [int] NULL,
  [A1] [int] NULL,
  [A2] [int] NULL,
  [A3] [int] NULL,
  [A4] [int] NULL,
  [A5] [int] NULL,
  [A6] [int] NULL,
  [A7] [int] NULL,
  [T1] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [T2] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [T3] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [T4] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [T5] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [T6] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [T7] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U1] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U2] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U3] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U4] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U5] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U6] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [U7] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V1] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V2] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V3] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V4] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V5] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V6] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [V7] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X1] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X2] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X3] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X4] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X5] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X6] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [X7] [varchar](25) COLLATE Norwegian_100_CI_AS NULL,
  [STARTÅR] [datetime2](3) NULL,
  [Regnskabsår] [int] NULL,
  [SYS_KommuneId] [int] NULL,
  [SYS_BatchDate] [datetime2](3) NULL,
  [SYS_RowID] [bigint] identity(1,1) NOT NULL,
  [SYS_ExtractDate] [datetime2](3) NULL,
  [SYS_SourceFileID] [varchar](80) COLLATE Norwegian_100_CI_AS NULL,
  [SYS_RettelserTidAngivelse] [datetime2](3) NULL,
  [SYS_VersionID] [bigint] NULL,
  [SYS_Checksum] AS (CONVERT([bigint],hashbytes('SHA2_256',concat([KONTONR],[F1],[F2],[F3],[F4],[F5],[F6],[F7],[D1],[D2],[D3],[D4],[D5],[D6],[D7],[E1],[E2],[E3],[E4],[E5],[E6],[E7],[S1],[S2],[S3],[S4],[S5],[S6],[S7],[G1],[G2],[G3],[G4],[G5],[G6],[G7],[A1],[A2],[A3],[A4],[A5],[A6],[A7],[T1],[T2],[T3],[T4],[T5],[T6],[T7],[U1],[U2],[U3],[U4],[U5],[U6],[U7],[V1],[V2],[V3],[V4],[V5],[V6],[V7],[X1],[X2],[X3],[X4],[X5],[X6],[X7],[STARTÅR],[Regnskabsår])),0)) PERSISTED,
  [SYS_ExecutionId] [bigint] NULL,
  [SYS_DataDeliveryBatchId_Create] [bigint] NULL
) 
on sys_batch_date_sc(SYS_BatchDate)
GO

CREATE UNIQUE CLUSTERED INDEX [IDX_CL_D110-10-1_DSAHIST_Prisme09_Konti_Årsopdelt] On [D110-10-1].[DSAHIST_Prisme09_Konti_Årsopdelt] (SYS_BatchDate, SYS_KommuneId, SYS_RowID) with (data_compression = page, STATISTICS_INCREMENTAL = ON) on sys_batch_date_sc(SYS_BatchDate);
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Tabel med kontoplaner fra Prisme opdelt på gældende regnskabsår.', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Registreringskontonr', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'KONTONR';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Funktion 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'F7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Dranst 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'D7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Ejerforhold 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'E7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Sted 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'S7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Gruppering 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'G7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Art 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'A7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Politisk organisation 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'T7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af Administrativ organisation 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'U7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionV 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'V7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 1. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X1';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 2. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X2';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 3. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X3';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 4. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X4';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 5. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X5';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 6. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X6';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Værdien af DimensionX 7. niveau', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'X7';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Den dato fra hvornår teksten gælder', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'STARTÅR';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Regnskabsåret hvor kontoen er gældende', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'Regnskabsår';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder nummeret på den kommune, som rækken tilhører', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_KommuneId';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder information om, hvilken batch rækken er indlæst i', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_BatchDate';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder et fortløbende nummer, så alle rækker i tabellen har et unikt nummer', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_RowID';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder det dato stempel, som kildefilen er markeret med', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_ExtractDate';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder ID for den primære snitflade, hvor data i rækken stammer fra', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_SourceFileID';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder den forretningsmæssige tidsangivelse for rækken. Denne bruges hvis data skal slettes med tidsangivelse', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_RettelserTidAngivelse';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder et versionsnummer for den pågældende række', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_VersionID';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'Dette er en teknisk Kolonne i FLIS. Indeholder cheksum info', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_Checksum';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'SysExecutionId', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_ExecutionId';
GO

EXEC sys.sp_addextendedproperty 
@name = N'MS_Description', 
@value = N'SysDataDeliveryBatchIdCreate', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt', 
@level2type = N'COLUMN', @level2name = N'SYS_DataDeliveryBatchId_Create';
GO

EXEC sys.sp_addextendedproperty 
@name = N'DataArea', 
@value = N'generel', 
@level0type = N'SCHEMA', @level0name = N'D110-10-1', 
@level1type = N'TABLE',  @level1name = N'DSAHIST_Prisme09_Konti_Årsopdelt';
GO

