﻿CREATE TABLE [dbo].[DocumentiPdf] (
#x0D;
	[idPdf] bigint NOT NULL IDENTITY(1,1),&#x0D;
	[dtCreazione] datetime NOT NULL,&#x0D;
	[idProvenienza] varchar(1) NOT NULL,&#x0D;
	[TpReport] smallint NOT NULL,&#x0D;
	[idStato] varchar(1) NOT NULL,&#x0D;
	[idArchivio] varchar(1) NOT NULL,&#x0D;
	[dtRestore] datetime NULL,&#x0D;
	[CodicePB] varchar(6) NOT NULL,&#x0D;
	[Rete] varchar(1) NOT NULL,&#x0D;
	[NumeroPagine] int NULL,&#x0D;
	[Note] varchar(4000) NULL,&#x0D;
	[dtEliminato] datetime NULL
)
ALTER TABLE [dbo].[DocumentiPdf] ADD CONSTRAINT [PK_DocumentiPdf] PRIMARY KEY CLUSTERED ([idPdf])
GO