CREATE TABLE [dbo].[ImpegnoLinee] (
    [codPostazione] NVARCHAR (250) NOT NULL,
    [CodLinea]      NVARCHAR (5)   NOT NULL,
    [Tipo]          NVARCHAR (5)   NOT NULL,
    [DataMod]       DATETIME       NOT NULL,
    CONSTRAINT [PK_ImpegnoLinee] PRIMARY KEY CLUSTERED ([codPostazione] ASC) WITH (FILLFACTOR = 95)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ImpegnoLinee';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Linea impegnata (00 - 99)', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ImpegnoLinee', @level2type = N'COLUMN', @level2name = N'CodLinea';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'IN (ingresso) oppure OUT (uscita)', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ImpegnoLinee', @level2type = N'COLUMN', @level2name = N'Tipo';

