﻿CREATE TABLE [ext].[RcdItem] (
    [CodItem]      NVARCHAR (50)  NOT NULL,
    [CodItemRcd]   NVARCHAR (50)  NOT NULL,
    [ItemDescrRcd] NVARCHAR (250) CONSTRAINT [DF_RcdItem_ItemDescrRcd] DEFAULT ('') NOT NULL,
    [CodPlantRcd]  NVARCHAR (50)  CONSTRAINT [DF_RcdItem_CodPlantRcd] DEFAULT ('') NOT NULL,
    CONSTRAINT [PK_RcdItem] PRIMARY KEY CLUSTERED ([CodItem] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'codice articolo', @level0type = N'SCHEMA', @level0name = N'ext', @level1type = N'TABLE', @level1name = N'RcdItem', @level2type = N'COLUMN', @level2name = N'CodItemRcd';


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

