CREATE TABLE [C6Storico].[ST_WRENAB] ( [RETE] varchar(1) NOT NULL, [CODAREA] varchar(4) NOT NULL, [CODPROG] varchar(12) NOT NULL, [CODFIS] varchar(16) NOT NULL, [DTRIF] decimal(9,0) NOT NULL, [DTVALORIZ] decimal(9,0) NOT NULL, [CTV] decimal(15,2) NOT NULL, [DTINIZ] decimal(9,0) NOT NULL, [RENDINIZ] decimal(8,5) NOT NULL, [DTTRIM] decimal(9,0) NOT NULL, [RENDTRIM] decimal(8,5) NOT NULL, [DTANNO] decimal(9,0) NOT NULL, [RENDANNO] decimal(8,5) NOT NULL, [CVN] decimal(15,2) NOT NULL, [CVN_IA] decimal(15,2) NOT NULL, [CVN_IT] decimal(15,2) NOT NULL, [APP_INI] decimal(15,2) NOT NULL, [TOT_APP] decimal(15,2) NOT NULL, [TOT_LIQ] decimal(15,2) NOT NULL, [TOT_CED] decimal(15,2) NOT NULL, [TOT_DIV] decimal(15,2) NOT NULL, [DCD] decimal(15,2) NOT NULL, [DCVN] decimal(15,2) NOT NULL, [SCARTO] decimal(15,2) NOT NULL, [NTOT_APP] decimal(15,2) NOT NULL, [NTOT_LIQ] decimal(15,2) NOT NULL, [ID_ELAB] int NULL ) GO