CREATE TABLE [dbo].[RigheListePrelievo_AS] (
    [IdxRiga]   INT             IDENTITY (1, 1) NOT NULL,
    [CodLista]  NVARCHAR (12)   NOT NULL,
    [UDC]       NVARCHAR (50)   NOT NULL,
    [Qta]       DECIMAL (10, 2) NOT NULL,
    [Proposto]  BIT             NULL,
    [Prelevato] BIT             NULL,
    [DataBatch] DATETIME        NULL,
    CONSTRAINT [PK_RigheListePrelievo_AS] PRIMARY KEY CLUSTERED ([IdxRiga] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'dataora di caricamento batch verso AS', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'RigheListePrelievo_AS', @level2type = N'COLUMN', @level2name = N'DataBatch';

