﻿CREATE TABLE [tmp].[ItemsRaw] (
    [CodItem]      NVARCHAR (50)  NOT NULL,
    [ItemDescr]    NVARCHAR (250) NOT NULL,
    [UnitWeight]   NVARCHAR (50)  NOT NULL,
    [CodPlant]     NVARCHAR (50)  NOT NULL,
    [CodItemGroup] NVARCHAR (50)  NOT NULL,
    [Class01]      NVARCHAR (50)  CONSTRAINT [DF_ItemsRaw_Class01] DEFAULT ('') NOT NULL,
    [Class02]      NVARCHAR (50)  CONSTRAINT [DF_ItemsRaw_Class02] DEFAULT ('') NOT NULL,
    [Class03]      NVARCHAR (50)  CONSTRAINT [DF_ItemsRaw_Class03] DEFAULT ('') NOT NULL,
    [Class04]      NVARCHAR (50)  CONSTRAINT [DF_ItemsRaw_Class04] DEFAULT ('') NOT NULL,
    [Class05]      NVARCHAR (50)  CONSTRAINT [DF_ItemsRaw_Class05] DEFAULT ('') NOT NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'codice articolo', @level0type = N'SCHEMA', @level0name = N'tmp', @level1type = N'TABLE', @level1name = N'ItemsRaw', @level2type = N'COLUMN', @level2name = N'CodItem';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'calsse raggruppamento (es complessità disegno)', @level0type = N'SCHEMA', @level0name = N'tmp', @level1type = N'TABLE', @level1name = N'ItemsRaw', @level2type = N'COLUMN', @level2name = N'CodItemGroup';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'', @level0type = N'SCHEMA', @level0name = N'tmp', @level1type = N'TABLE', @level1name = N'ItemsRaw', @level2type = N'COLUMN', @level2name = N'Class01';

