PDC_REPORT_CreazioneDB/sql/tablesCollaudo/C6StoricoPeriodico_ST_TRENAB.sql
2025-06-09 19:17:49 +02:00

31 lines
984 B
Transact-SQL

CREATE TABLE [C6StoricoPeriodico].[ST_TRENAB] (
[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,
[RENDATTANN] decimal(8,5) NOT NULL,
[ID_ELAB] int NULL
)
GO