INSERT INTO dbo.ZFILE3_01 VALUES
('LRU011','01',13,'NUMERO DOCUMENTO (SPAZI PER UVE PROPRIE)',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LRU011','01',14,'DATA DOCUMENTO (ZERO PER UVE PROPRIE)',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRU012','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU012','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU012','01',3,'TIPO COMMITTENTE',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRU012','01',4,'CODICE COMMITTENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRU012','01',5,'TIPO PRODOTTO',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRU012','01',6,'CODICE FAMIGLIA',3,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRU012','01',7,'TIPO PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRU012','01',8,'MANIPOLAZIONI',2,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LRU012','01',9,'DESCRIZIONE PRODOTTO SUCCINTA',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRU012','01',10,'DESCRIZIONE PRODOTTO ESTESA',2,'DESEST',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRU012','01',11,'VASCA OBBLIGATORIA C/LAVORO (S)',2,'VASOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRU012','01',12,'OPERAZIONE',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRU012','01',13,'CARICHI',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRU012','01',14,'SCARICHI',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRU013','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU013','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU013','01',3,'PRIMO SEGMENTO K3',3,'K3-UNO',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU013','01',4,'CODICE REGISTRO (ZERO SE NO DETTAGLIO)',4,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRU013','01',5,'COMMITTENTE',4,'SIGCOM',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU013','01',6,'TIPO COMMITTENTE C/F',5,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRU013','01',7,'CODICE COMMITTENTE',5,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRU013','01',8,'CODICE RAGGRUPPAMENTO',4,'CODRAG',0,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU013','01',9,'TIPO COMMITTENTE',4,'INDCAT',0,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRU013','01',10,'0=SCARICO / 1=CARICO',4,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRU013','01',11,'STRINGA PRATICHE ENOLOGICHE (2X5)',3,'STR-PE',0,5,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRU013','01',12,'SECONDO SEGMENTO K3',3,'K3-DUE',0,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU013','01',13,'CAUSALE',4,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRU013','01',14,'OPERAZIONE REGISTRO',4,'CODOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRU013','01',15,'CATEGORIA PRODOTTO DI SCARICO',4,'CATSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRU013','01',16,'RAGGRUPPAMENTO DI CONTROPARTITA',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU013','01',17,'QUANTITA MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRU014','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU014','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU014','01',3,'PRIMO SEGMENTO K3',3,'K3-UNO',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU014','01',4,'CODICE REGISTRO (ZERO SE NO DETTAGLIO)',4,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRU014','01',5,'COMMITTENTE',4,'SIGCOM',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU014','01',6,'TIPO COMMITTENTE C/F',5,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRU014','01',7,'CODICE COMMITTENTE',5,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRU014','01',8,'SEGMENTO CHIAVE RAG. MOV. CAT.',4,'SEGKEY',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU014','01',9,'CODICE RAGGRUPPAMENTO',5,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU014','01',10,'DATA MOVIMENTO',5,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRU014','01',11,'CLASSE ORDINAMENTO',5,'INDORD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRU014','01',12,'ID SUPERTESTATA',5,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRU014','01',13,'PROGRESSIVO TESTATA',5,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRU014','01',14,'PROGRESSIVO RIGA',5,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRU014','01',15,'INDICE CATEGORIA',5,'INDCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRU014','01',16,'0=SCARICO / 1=CARICO',4,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRU014','01',17,'STRINGA PRATICHE ENOLOGICHE (2X5)',3,'STR-PE',0,4,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRU014','01',18,'SECONDO SEGMENTO K3',3,'K3-DUE',0,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU014','01',19,'CAUSALE',4,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRU014','01',20,'OPERAZIONE REGISTRO',4,'CODOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRU014','01',21,'RAGGRUPPAMENTO DI CONTROPARTITA',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU014','01',22,'QUANTITA MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRU14X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU14X','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU14X','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRU14X','01',4,'COMMITTENTE',3,'SIGCOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU14X','01',5,'TIPO',4,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRU14X','01',6,'CODICE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRU14X','01',7,'RAGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU14X','01',8,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRU14X','01',9,'CLASSE ORDINAMENTO',3,'INDORD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRU14X','01',10,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRU14X','01',11,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRU14X','01',12,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRU14X','01',13,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRU14X','01',14,'CODICE OPERAZIONE',3,'CODOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRU14X','01',15,'CODICE RAGRUPPAMENTO CONTROPARTITA',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU14X','01',16,'DESCRIZIONE OPERAZIONE',2,'DESOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRU14X','01',17,'DESCRIZIONE CONTROPARTITA',2,'DESCON',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRU14X','01',18,'INDICE CATEGORIA',2,'INDCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRU14X','01',19,'STRINGA PRATICHE ENOLOGICHE',2,'STR-PE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRU14X','01',20,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('LRU14Y','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU14Y','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU14Y','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRU14Y','01',4,'COMMITTENTE',3,'SIGCOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRU14Y','01',5,'TIPO',4,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRU14Y','01',6,'CODICE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRU14Y','01',7,'RAGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRU14Y','01',8,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRU14Y','01',9,'CLASSE ORDINAMENTO',3,'INDORD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRU14Y','01',10,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRU14Y','01',11,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRU14Y','01',12,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRU14Y','01',13,'INDICE COLONNA',2,'INDCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUAEB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAEB','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAEB','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LRUAEB','01',4,'PROVENIENZA (A=SIAN Z=AV2000)',3,'PROVCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAEB','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUAEB','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('LRUAEB','01',7,'S=NO DATA VERSIONE',2,'NODTVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAME','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAME','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAME','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUAME','01',4,'PROVENIENZA (A=SIAN Z=AV2000)',3,'PROVCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAME','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRUAME','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUAME','01',7,'S=NO DESCRIZIONE ESTESA',2,'NODEST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAQT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAQT','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAQT','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LRUAQT','01',4,'PROVENIENZA (A=SIAN Z=AV2000)',3,'PROVCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAQT','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUAQT','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUAQT','01',7,'TIPO VINO',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUAQT','01',8,'S=NO DESCRIZIONE ESTESA',2,'NODEST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUASZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUASZ','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUASZ','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LRUASZ','01',4,'PROVENIENZA (A=SIAN Z=AV2000)',3,'PROVCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUASZ','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUASZ','01',6,'DESCRIZIONE SOTTOZONA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUASZ','01',7,'DESCRIZIONE VINO',2,'DESVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUASZ','01',8,'TIPO ZONA',2,'TIPZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUASZ','01',9,'S=NO DESCRIZIONE ESTESA',2,'NODEST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAVA','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAVA','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LRUAVA','01',4,'PROVENIENZA (A=SIAN Z=AV2000)',3,'PROVCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAVA','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUAVA','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUAVA','01',7,'TIPO VINO',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUAVA','01',8,'S=NO DESCRIZIONE ESTESA',2,'NODEST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAVA','01',9,'CODICE AV2000',2,'CODAV2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUAZV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAZV','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUAZV','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUAZV','01',4,'PROVENIENZA (A=SIAN Z=AV2000)',3,'PROVCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUAZV','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUAZV','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUAZV','01',7,'CODICE AV2000',2,'CODAV2',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUCRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUCRU','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUCRU','01',3,'CODICE ATTRIBUTO PER ORDINAMENTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUCRU','01',4,'ID FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUCRU','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUCRU','01',6,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUCRU','01',7,'QTA. IMPEGNATA CONTRATTI',2,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUCRU','01',8,'VALORE IMPEGNATO CONTRATTI',2,'VALIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,2,0,'9(12)V99 COMP-3','',0,'',0,0,'' )
,('LRUCRU','01',9,'QTA. VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUCRU','01',10,'VALORE VENDUTO',2,'VALVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,2,0,'9(12)V99 COMP-3','',0,'',0,0,'' )
,('LRUCV0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUCV0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUCV0','01',3,'PROGRESSIVO RECORD',3,'INDICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUCV0','01',4,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUCV0','01',5,'DESCRIZIONE COMMERCIALIZZAZIONE',2,'DESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUCV0','01',6,'COD. COMM. OBSOLETO',2,'OBSCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUCV0','01',7,'ID FAMIGLIA',2,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUCV0','01',8,'CODICE FAMIGLIA',2,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRUCV0','01',9,'DESCRIZIONE FAMIGLIA',2,'DESFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUDEM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUDEM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUDEM','01',3,'TIPO RIFERIMENTO',3,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUDEM','01',4,'CODICE DI RIFERIMENTO',3,'NUMRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('LRUDEM','01',5,'TIPO RIFERIMENETO ANAGRAFICHE COLLEGATE',3,'TIPSAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUDEM','01',6,'CODICE ANAGRAFICA COLLEGATA',3,'CODSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUDEM','01',7,'CODICE ERRORE RIGA',2,'CODERR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LRUDEM','01',8,'DESCRIZIONE ERRORE RIGA',2,'DESERR',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUEX0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUEX0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUEX0','01',3,'PROGRESSIVO RECORD',3,'INDICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUEX0','01',4,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUEX0','01',5,'DESCRIZIONE COMMERCIALIZZAZIONE',2,'DESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUEX0','01',6,'ID FAMIGLIA',2,'IDFAMI',0,1,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUEX0','01',7,'CODICE FAMIGLIA',2,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRUEX0','01',8,'DESCRIZIONE FAMIGLIA',2,'DESFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUEX0','01',9,'TIPO COMMITTENTE (C/F/ )',2,'TIPCLF',0,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUEX0','01',10,'CODICE COMMITTENTE',2,'CODCLF',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUEX0','01',11,'RAGIONE SOCIALE COMMITTENTE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUGIA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUGIA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUGIA','01',3,'ID FAMIGLIA',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUGIA','01',4,'ID PRODOTTO RU',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUGIA','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUGIA','01',6,'GIACENZA REGISTRO IN LITRI',2,'GIAREG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUGIA','01',7,'GIACENZA REGISTRO IN LITRI',2,'GIAREL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUGIA','01',8,'GIACENZA REGISTRO IN LITRI VALIDA (S/N)',2,'OKGREL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUGIA','01',9,'GIACENZA REGISTRO IN KG',2,'GIAREK',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUGIA','01',10,'GIACENZA REGISTRO IN KG VALIDA (S/N)',2,'OKGREK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUGIA','01',11,'GIACENZA MAGAZZINO UDM',2,'GIAMGU',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUGIA','01',12,'GIACENZA MAGAZZINO IN LITRI',2,'GIAMGL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUGIA','01',13,'GIACENZA MAGAZZINO IN LITRI VALIDA (S/N)',2,'OKGMGL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUGIA','01',14,'GIACENZA MAGAZZINO IN KG',2,'GIAMGK',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUGIA','01',15,'GIACENZA MAGAZZINO IN KG VALIDA (S/N)',2,'OKGMGK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUMA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMA1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMA1','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUMA1','01',4,'ID FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMA1','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMA1','01',6,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMA1','01',7,'GIACENZA REGISTRO RESIDUALE',2,'GIAREG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUMAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMAG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMAG','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUMAG','01',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRUMAG','01',5,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRUMAG','01',6,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUMAG','01',7,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUMAG','01',8,'GIACENZA DA ASSEGNARE RESIDUALE REGISTRO',2,'GIAREG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUMPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMPV','01',3,'DATA BOLLA',3,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUMPV','01',4,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMPV','01',5,'CODICE OBBLIGO DEROGA',3,'COD-OD',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUMPV','01',6,'NUMERO BOLLETTA PV (SOLO CLIENTI)',3,'KEYBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUMPV','01',7,'CODICE OPERAZIONE VENDITA',3,'CRUVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMPV','01',8,'CODICE CAUSALE VENDITA',3,'CRCVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRUMPV','01',9,'CODICE OPERAZIONE IMBOTTIGLIAMENTO',3,'CRUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMPV','01',10,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUMPV','01',11,'ID FAMIGLIA PER MOV.IMBOTTIGLIAMENTO',3,'IMBIFI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUMPV','01',12,'VOLUME CONFEZIONE PER IMBOTTIGLIAMENTO',3,'IMBVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V9(3)','',0,'',0,0,'' )
,('LRUMPV','01',13,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUMPV','01',14,'VOLUME NOMINALE CONFEZIONI VENDUTE',3,'VOLNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V9(3)','',0,'',0,0,'' )
,('LRUMPV','01',15,'NUMERO BOLLETTA',3,'NUMBOL',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUMPV','01',16,'QTA VENDUTA (UDM PRODOTTO)',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUMPV','01',17,'NUMERO CONFEZIONI VENDUTE',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMPV','01',18,'NUMERO CONFEZIONI PER IMBOTTIGLIAMENTO',2,'IMBNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMPV','01',19,'CODICE VASCA X IMBOTTIGLIAMENTO',2,'IMBVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',100,'',0,0,'' )
,('LRUMR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR1','01',3,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR1','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR1','01',6,'CODICE REGISTRO',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMR1','01',7,'CAUSALE TESTATA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMR1','01',8,'CAUSALE RIGA',2,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMR1','01',9,'DATA MOVIMENTO',2,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUMR1','01',10,'ID PRODOTTO',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',11,'QTA MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V9(3)','',0,'',0,0,'' )
,('LRUMR1','01',12,'FILLER ALLINEAMENTO ARUMR1-01FLAGAM',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUMR1','01',13,'CODICE MAGAZZINO DA MOVIMENTARE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRUMR1','01',14,'CAUSALE MAGAZZINO DA MOVIMENTARE',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMR1','01',15,'CODICE ARTICOLO MAGAZZINO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUMR1','01',16,'ANNATA ARTICOLO MAGAZZINO',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMR1','01',17,'LOTTO MAGAZZINO',2,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUMR1','01',18,'CODICE RAGGRUPPAMENTO VINIFICAZIONE',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRUMR1','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LRUMR1','01',20,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'99V9(4) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',21,'CLASSE ORDINAMENTO TELEMATIZZAZIONE',2,'INDORD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUMR1','01',22,'PERCENTUALE MECCANICA DA CONFERIMENTI',2,'PERCME',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',23,'PERCENTUALE IGP',2,'PERIGP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUMR1','01',24,'ALCOOL POTENZIALE',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUMR1','01',25,'ALCOOL EFFETTIVO',2,'ALCEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUMR1','01',26,'ALCOOL TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUMR1','01',27,'CODICE PRATICHE ENOLOGICHE',2,'CODMPE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUMR1','01',28,'CODICE TRATTAMENTO',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUMR1','01',29,'GRADO ACIDITA''',2,'GRAACI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,4,0,'9(6)V9(4) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',30,'MONTEGRADI',2,'MGRADI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,4,0,'9(10)V9(4) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',31,'QUANTITA'' PERDITE',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',32,'MANIPOLAZIONE DI MAGAZZINO',2,'MANMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRUMR1','01',33,'QUANTITA RICHIESTA PROCESS CERTIF.',2,'QTARIC',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',34,'ID PROCESSO CERTIFICATIVO',2,'IDCERT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR1','01',35,'SUPERTESTATA I^ RICHIESTA',3,'IDCSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUMR1','01',36,'TESTATA I^ RICHIESTA',3,'IDCTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR1','01',37,'RIGA I^ RICHIESTA',3,'IDCRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR1','01',38,'QUANTITA'' MOVIMENTO MAGAZZINO 3 DECIMALI',2,'QTAMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',39,'QTA RASPI UVE DIRASPATE (DI CUI) CASD',2,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',40,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRUMR1','01',41,'TELEMATIZZARE ( /N)',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUMR1','01',42,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',43,'PREZZO UNITARIO',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LRUMR1','01',44,'RIGA BOLLA DI ORIGINE (ABOLLZ-01NUMRIG)',2,'BOLRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMR1','01',45,'COMPONENTE DI ORIGINE (ABOLLZ-01NUMCOM)',2,'BOLCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRUMR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR2','01',3,'ID SUPERTESTATATO',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMR2','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR2','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR2','01',6,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRUMR2','01',7,'QUANTITA'' MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRUMR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMR3','01',3,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMR3','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR3','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMR3','01',6,'PROGRESSIVO TIPO PARTITA',3,'PROTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMR3','01',7,'VOLUME NOMINALE',2,'VOLNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V9(3)','',0,'',0,0,'' )
,('LRUMR3','01',8,'NUMERO CONFEZIONI',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRUMR3','01',9,'NUMERO DI SERIE CONTRASSEGNO',2,'CONSER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LRUMR3','01',10,'NUMERO CONTRASSEGNO INIZIALE',2,'CONINI',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('LRUMR3','01',11,'NUMERO CONTRASSEGNO FINALE',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('LRUMR3','01',12,'LOTTO',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUMRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMRA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMRA','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMRA','01',4,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUMRA','01',5,'CODICE CAUSALE',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMRA','01',6,'CODICE OPERAZIONE',3,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMRA','01',7,'I.D. FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUMRA','01',8,'I.D. PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUMRA','01',9,'I.D. SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUMRA','01',10,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMRA','01',11,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMRA','01',12,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUMRA','01',13,'CODICE RAGRUPPAMENTO VINIFICAZIONE',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRUMRA','01',14,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRUMT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMT1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUMT1','01',3,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUMT1','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUMT1','01',5,'CODICE REGISTRO PIU'' MOVIMENTI MIPAAF',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUMT1','01',6,'CODICE CAUSALE TESTATA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMT1','01',7,'DATA MOVIMENTO',2,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUMT1','01',8,'CODICE ESONERO/DEROGA',2,'CODESO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUMT1','01',9,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUMT1','01',10,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUMT1','01',11,'TIPO SOGGETTO',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUMT1','01',12,'CODICE SOGGETTO',2,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUMT1','01',13,'TIPO SOGG.ANAGRAFICA COLLEGATA',2,'TIPSAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUMT1','01',14,'CODICE SOGG.ANAGRAFICA COLLEGATA',2,'CODSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUMT1','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUMT1','01',16,'CLASSE ORDINAMENTO TELEMATIZZAZIONE',2,'INDORD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUMT1','01',17,'NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,250,250,0,0,'X(250)','',0,'',0,0,'' )
,('LRUMT1','01',18,'FILLER ALLINEAMENTO ARUMT1-01FLAGAM',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUMT1','01',19,'CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRUMT1','01',20,'MOVIMENTO MAGAZZINO',2,'MOVMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('LRUMT1','01',21,'TELEMATIZZARE ( /X)',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUPFS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPFS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPFS','01',3,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUPFS','01',4,'QUANTITA'' IN CREAZIONE',2,'QTACRE',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUPFS','01',5,'DATA CREAZIONE',2,'DATCRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUPFS','01',6,'ID. FAMIGLIA',2,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUPFS','01',7,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUPFS','01',8,'TENORE ZUCCHERINO',2,'CODTEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUPFS','01',9,'GRADO',2,'GRDPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRUPFS','01',10,'NUMERO CERTIFICATO',2,'NUMCER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUPFS','01',11,'DATA CERTIFICATO',2,'DTACER',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUPFS','01',12,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUPFS','01',13,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',10,'',0,0,'' )
,('LRUPFS','01',14,'NUMERO VASCHE OCCUPATE',2,'INDVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRUPFX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPFX','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPFX','01',3,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUPFX','01',4,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUPFX','01',5,'CLASSE ORDINAMENTO TELEMATIZZAZIONE',3,'INDORD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUPFX','01',6,'ID. TESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUPFX','01',7,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUPFX','01',8,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUPR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR1','01',3,'ID PRODOTTO',3,'IDPROD',0,3,3,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR1','01',4,'ID FAMIGLIA',2,'IDFAMI',0,1,1,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR1','01',5,'ANNATA NOMINALE',2,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUPR1','01',6,'% ANNATA',2,'PERANN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUPR1','01',7,'TENORE ZUCCHERINO - TAB 6.11 (ARU011)',2,'CODTEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUPR1','01',8,'ORIGINE UVE (CODICE ISO NAZIONE)',2,'CODORU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('LRUPR1','01',9,'PROVENIENZA - TAB 6.10 (ARU010)',2,'CODPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUPR1','01',10,'ALTRE VARIETA''',2,'ALTVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LRUPR1','01',11,'PERCENTUALE IGP',2,'PERIGP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUPR1','01',12,'ALCOOL POTENZIALE',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('LRUPR1','01',13,'ALCOOL EFFETTIVO',2,'ALCEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('LRUPR1','01',14,'ALCOOL TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('LRUPR1','01',15,'MASSA VOLUMICA',2,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('LRUPR1','01',16,'TIPO COMMITTENTE (C/F)',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUPR1','01',17,'CODICE COMMITTENTE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUPR1','01',18,'GIORNI INVECCHIAMENTO',2,'GG-INV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LRUPR1','01',19,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUPR1','01',20,'NR CERTIFICATO',2,'NUMCER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUPR1','01',21,'DATA CERTIFICATO',2,'DTACER',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUPR1','01',22,'DA MOVIMENTARE SMEPRE CON VASCHE (S)',2,'VASOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUPR1','01',23,'DATA INIZIO OBSOLESCENZA',2,'DTAOBS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUPR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR2','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR2','01',4,'CODICE ISO PAESE',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('LRUPR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR3','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR3','01',4,'VARIETA'' - TAB 6.9 (ARU009)',3,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUPR3','01',5,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('LRUPR4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR4','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR4','01',4,'MANIPOLAZIONI - TAB 6.3 (ARU003)',3,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUPR5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR5','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR5','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUPR5','01',5,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUPR6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR6','01',3,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUPR6','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUPR6','01',5,'LOTTO MAGAZZINO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUPR6','01',6,'ID PRODOTTO',2,'IDPROD',0,1,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR8','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR8','01',3,'CODICE CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',4,'CODICE ATTO/CERTIFICATO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUPR8','01',5,'CODICE CLASSIFICAZIONE',3,'CODCLA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUPR8','01',6,'CODICE DOP/IGP',3,'CODDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LRUPR8','01',7,'CODICE EBACCHUS',3,'CODEBA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LRUPR8','01',8,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LRUPR8','01',9,'CODICE SOTTOZONA',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LRUPR8','01',10,'CODICE VIGNA',3,'CODVIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRUPR8','01',11,'CODICE COLORE',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRUPR8','01',12,'CODICE BIOLOGICO',3,'CODBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRUPR8','01',13,'CODICE STATO FISICO',3,'CODSTF',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRUPR8','01',14,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',15,'PERCENTUALE ANNATA',3,'PERANN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',16,'CODICE ORIGINE UVE',3,'CODORU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('LRUPR8','01',17,'CODICE PROVENIENZA DELLE UVE',3,'CODPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRUPR8','01',18,'TABELLA CODICI ISO PAESI PROVENIENZA',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',3,'',0,0,'' )
,('LRUPR8','01',19,'TABELLA VARIETA''',3,'TABVAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('LRUPR8','01',20,'CODICE VARIETA',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',21,'% VARIETA',4,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'9(3)V99 COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',22,'ALTRE VARIETA''',3,'ALTVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('LRUPR8','01',23,'TABELLA CODICI MANIPOLAZIONI',3,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',5,'',0,0,'' )
,('LRUPR8','01',24,'TABELLA CODICI MENZIONI',3,'CODMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',5,'',0,0,'' )
,('LRUPR8','01',25,'MASSA VOLUMICA',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'99V9(4) COMP-3','',0,'',0,0,'' )
,('LRUPR8','01',26,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUPR8','01',27,'NUMERO CERTIFICATO',3,'NUMCER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUPR8','01',28,'DATA CERTIFICATO',3,'DTACER',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('LRUPR8','01',29,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR8','01',30,'CHIAVE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUPR8','01',31,'DATI UVE VENDUTE',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUPR8','01',32,'CODICE PRIMARIO',3,'CODPRI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUPR8','01',33,'CODICE SECONDARIO',3,'CODSEC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSC2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSC2','01',3,'CHIAVE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUSC2','01',4,'ID PRODOTTI COLLEGATI (MAX 5)',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCG','01',5,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCG','01',6,'CODICE CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',7,'CODICE ATTO/CERTIFICATO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSCG','01',8,'CODICE CLASSIFICAZIONE',3,'CODCLA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSCG','01',9,'CODICE DOP/IGP',3,'CODDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LRUSCG','01',10,'CODICE EBACCHUS',3,'CODEBA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LRUSCG','01',11,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LRUSCG','01',12,'CODICE SOTTOZONA',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LRUSCG','01',13,'CODICE VIGNA',3,'CODVIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',14,'CODICE COLORE',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRUSCG','01',15,'CODICE BIOLOGICO',3,'CODBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRUSCG','01',16,'CODICE STATO FISICO',3,'CODSTF',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LRUSCG','01',17,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',18,'PERCENTUALE ANNATA',3,'PERANN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',19,'CODICE ORIGINE UVE',3,'CODORU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('LRUSCG','01',20,'CODICE PROVENIENZA DELLE UVE',3,'CODPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRUSCG','01',21,'TABELLA CODICI ISO PAESI PROVENIENZA',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',3,'',0,0,'' )
,('LRUSCG','01',22,'TABELLA VARIETA''',3,'TABVAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('LRUSCG','01',23,'CODICE VARIETA',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',24,'% VARIETA',4,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'9(3)V99 COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',25,'ALTRE VARIETA''',3,'ALTVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('LRUSCG','01',26,'TABELLA CODICI MANIPOLAZIONI',3,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',5,'',0,0,'' )
,('LRUSCG','01',27,'TABELLA CODICI MENZIONI',3,'CODMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',5,'',0,0,'' )
,('LRUSCG','01',28,'MASSA VOLUMICA',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'99V9(4) COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',29,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSCG','01',30,'NUMERO CERTIFICATO',3,'NUMCER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSCG','01',31,'DATA CERTIFICATO',3,'DTACER',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('LRUSCG','01',32,'TIPO COMMITTENTE',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSCG','01',33,'CODICE COMMITTENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',34,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCG','01',35,'CHIAVE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRUSCG','01',36,'DATI UVE VENDUTE',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCG','01',37,'GIACENZA SIAN',3,'GISIAN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',38,'GIACENZA AV2000',3,'GIAV2K',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCG','01',39,'CODICE PRIMARIO',3,'CODPRI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSCG','01',40,'CODICE SECONDARIO',3,'CODSEC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSCG','01',41,'ID PRODOTTI COLLEGATI (MAX 5)',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',5,'',0,0,'' )
,('LRUSCL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCL','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCL','01',3,'ID FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUSCL','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUSCL','01',5,'PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LRUSCL','01',6,'CODICE ARTICOLO - BUOTO PER TOT FAMIGLIA',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSCL','01',7,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUSCL','01',8,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSCL','01',9,'GIACENZA REGISTRO IN LITRI',2,'GIAREG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCL','01',10,'GIACENZA MAGAZZINO UDM',2,'GIAMGU',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCL','01',11,'GIACENZA MAGAZZINO IN LITRI',2,'GIAMGL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSCM','01',3,'ID FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUSCM','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LRUSCM','01',5,'CODICE ARTICOLO - BUOTO PER TOT FAMIGLIA',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LRUSCM','01',6,'GIACENZA REGISTRO IN LITRI',2,'GIAREG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',7,'GIACENZA REGISTRO IN LITRI',2,'GIAREL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',8,'GIACENZA REGISTRO IN LITRI VALIDA (S/N)',2,'OKGREL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSCM','01',9,'GIACENZA REGISTRO IN KG',2,'GIAREK',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',10,'GIACENZA REGISTRO IN KG VALIDA (S/N)',2,'OKGREK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSCM','01',11,'GIACENZA MAGAZZINO UDM',2,'GIAMGU',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',12,'GIACENZA MAGAZZINO IN LITRI',2,'GIAMGL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',13,'GIACENZA MAGAZZINO IN LITRI VALIDA (S/N)',2,'OKGMGL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSCM','01',14,'GIACENZA MAGAZZINO IN KG',2,'GIAMGK',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LRUSCM','01',15,'GIACENZA MAGAZZINO IN KG VALIDA (S/N)',2,'OKGMGK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUSGH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSGH','01',2,'CODICE CAMPO',2,'CODCAM',1,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LRUSGH','01',3,'ORDINE CAMPO IN HELP',2,'ORDCAM',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUSGH','01',4,'DESCRIZIONE CAMPO PER HELP',2,'DESCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSGH','01',5,'LUNGHEZZA CAMPO IN CHIAVE',2,'LUNCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUSGH','01',6,'DESCRIZIONE PER TESTATA',2,'TESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSGH','01',7,'EVENTUALE DES.AGGIUNTIVA PER TESTATA CSV',2,'TESCSV',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSGI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSGI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRUSGI','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,250,250,0,0,'X(250)','',0,'',0,0,'' )
,('LRUSGI','01',4,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUSGI','01',5,'GIACENZA PER CALCOLO M.V. MEDIA',2,'GIAMSV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUSGI','01',6,'MONTE MASSA VOLUMICA',2,'MTMMSV',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,4,0,'S9(12)V9(4)','',0,'',0,0,'' )
,('LRUSMH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSMH','01',2,'CODICE CAMPO',2,'CODCAM',1,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LRUSMH','01',3,'ORDINE CAMPO IN HELP',2,'ORDCAM',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUSMH','01',4,'DESCRIZIONE CAMPO PER HELP',2,'DESCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSMH','01',5,'LUNGHEZZA CAMPO IN CHIAVE',2,'LUNCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUSMH','01',6,'DESCRIZIONE PER TESTATA',2,'TESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSMH','01',7,'EVENTUALE DES.AGGIUNTIVA PER TESTATA CSV',2,'TESCSV',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUSMI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSMI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSMI','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUSMI','01',4,'CARICO',2,'MOVCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUSMI','01',5,'SCARICO',2,'MOVSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUSMI','01',6,'QTA CAR X CALCOLO M.V. MEDIA',2,'MOVCMV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUSMI','01',7,'QTA SCA X CALCOLO M.V. MEDIA',2,'MOVSMV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUSMI','01',8,'MONTE M.V. CAR',2,'MTMCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,4,0,'S9(12)V9(4)','',0,'',0,0,'' )
,('LRUSMI','01',9,'MONTE M.V. SCA',2,'MTMSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,4,0,'S9(12)V9(4)','',0,'',0,0,'' )
,('LRUSVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSVA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUSVA','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,240,240,0,0,'X(240)','',0,'',0,0,'' )
,('LRUSVA','01',4,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUTAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTAN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTAN','01',3,'C=CLIENTE F=FORNITORE',3,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTAN','01',4,'CODICE SOGGETTO',3,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTAN','01',5,'SOGGETTO COLLEGATO D/L/T',3,'FLGSAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTAN','01',6,'CODICE SOGGETTO COLLEGATO',3,'CODSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTAN','01',7,'TIPO RICH. I=INSERIMENTO A=AGGIORNAMENTO',2,'FLGRIC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTAN','01',8,'DATA LETTURA',2,'DATTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTAN','01',9,'ORA LETTURA',2,'ORATEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTAN','01',10,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTAN','01',11,'CUAA',2,'CUASOG',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LRUTAN','01',12,'IT/UE/EX',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LRUTAN','01',13,'NOME SOGGETTO',2,'NOMSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUTAN','01',14,'COGNOME SOGGETTO',2,'COGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUTAN','01',15,'RAGIONE SOCIALE SOGGETTO',2,'RAGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUTAN','01',16,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUTAN','01',17,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LRUTAN','01',18,'ISTAT PROVINCIA',2,'ISTPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LRUTAN','01',19,'ISTAT COMUNE',2,'ISTCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LRUTAN','01',20,'ISTAT NAZIONE',2,'ISTNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUTAN','01',21,'NAZIONE ITALIA (X)',2,'FLGITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTAN','01',22,'CODICE ALTERNATIVO DA TELEMATIZZARE',2,'CODALT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LRUTR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTR1','01',2,'ID SUPERTESTATA MOVIMENTO',2,'IDSTES',1,4,2,1,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUTR1','01',3,'PROGRESSIVO TESTATA',2,'PROTES',2,5,3,2,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTR1','01',4,'PROGRESSIVO RIGA',2,'PRORIG',3,6,4,4,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTR1','01',5,'DATA MOVIMENTO',2,'DATMOV',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUTR1','01',6,'INDICE ORDINAMENTO TLEMATIZZAZIONE',2,'INDORD',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUTR1','01',7,'STATO VIGNA RELATIVA',2,'FLGVIG',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTR1','01',10,'CODICE VIGNA',2,'CODVIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTR1','01',11,'X = RELATIVO A PERIODO PRECEDENTE',2,'FLGTMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTR1','01',12,'CAUSALE RIGA REGISTRO UNICO',2,'CODCAR',0,0,0,3,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUTR1','01',13,'ID PRODOTTO',2,'IDPROD',0,1,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUTR1','01',14,'QUANTITA'' MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('LRUTR1','01',15,'ex - TENORE ZUCCHERINO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTR1','01',16,'PERCENTUALE IGP',2,'PERIGP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUTR1','01',17,'ALCOOL POTENZIALE',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUTR1','01',18,'ALCOOL EFFETTIVO',2,'ALCEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUTR1','01',19,'ALCOOL TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LRUTR1','01',20,'CODICE METODO PRATICHE ENOLOGICHE',2,'CODMPE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUTR1','01',21,'CODICE TRATTAMENTO',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUTR1','01',22,'GRADO ACIDITA''',2,'GRAACI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,4,0,'9(6)V9(4) COMP-3','',0,'',0,0,'' )
,('LRUTR1','01',23,'MONTEGRADI',2,'MGRADI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,4,0,'9(10)V9(4) COMP-3','',0,'',0,0,'' )
,('LRUTR1','01',24,'QUANTITA'' PERDITA',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LRUTR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTR2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTR2','01',3,'ID SUPERTESTATA MOVIMENTO',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUTR2','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTR2','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTR2','01',6,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRUTR2','01',7,'STATO VASCA',2,'FLGVAS',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTR3','01',2,'ID SUPERTESTATA MOVIMENTO',2,'IDSTES',1,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUTR3','01',3,'PROGRESSIVO TESTATA',2,'PROTES',2,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTR3','01',4,'PROGRESSIVO RIGA',2,'PRORIG',3,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTR3','01',5,'PROGRESSIVO TIPO PARTITA',2,'PROTIP',4,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRUTR3','01',6,'VOLUME NOMINALE',2,'VOLNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V9(3)','',0,'',0,0,'' )
,('LRUTR3','01',7,'NUMERO CONFEZIONI',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRUTR3','01',8,'NUMERO DI SERIE CONTRASSEGNO',2,'CONSER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LRUTR3','01',9,'NUMERO CONTRASSEGNO INIZIALE',2,'CONINI',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('LRUTR3','01',10,'NUMERO CONTRASSEGNO FINALE',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('LRUTR3','01',11,'LOTTO',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUTT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTT1','01',2,'ID SUPERTESTATA MOVIMENTO',2,'IDSTES',1,2,2,3,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LRUTT1','01',3,'PROGRESSIVO TESTATA',2,'PROTES',2,3,3,4,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LRUTT1','01',4,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRUTT1','01',5,'STATO ANAGRAFICA RELATIVA',2,'FLGANA',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTT1','01',8,'X = RELATIVO A PERIODO PRECEDENTE',2,'FLGTMP',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTT1','01',9,'CODICE ERRORE INVIO PRECEDENTE',2,'CODERI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LRUTT1','01',10,'DESCRIZIONE ERRORE INVIO PRECEDENTE',2,'DESERI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LRUTT1','01',11,'PROGRE.OPERAZIONE GG ULTIMO INVIO',2,'LASTPO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LRUTT1','01',12,'DATA LETTURA',2,'DATTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTT1','01',13,'ORA LETTURA',2,'ORATEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTT1','01',14,'CAUSALE TESTATA REGISTRO UNICO',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LRUTT1','01',15,'INDICE ORDINAMENTO CAUSALE TESTATA',2,'INDORD',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRUTT1','01',16,'TIPO SOGGETTO',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRUTT1','01',17,'CODICE SOGGETTO',2,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTT1','01',18,'TIPO SOGGETTO ANAGRAFICA COLLEGATA',2,'TIPSAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTT1','01',19,'CODICE SOGGETTO ANAGRAFICA COLLEGATA',2,'CODSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTT1','01',20,'CODICE ESONERO/DEROGA',2,'CODESO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRUTT1','01',21,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUTT1','01',22,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTT1','01',23,'NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,250,250,0,0,'X(250)','',0,'',0,0,'' )
,('LRUTT1','01',24,'NUMERO LOG (ARULOG)',2,'NUMLOG',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('LRUTVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTVA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTVA','01',3,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LRUTVA','01',4,'TIPO RICH. I=INSERIMENTO A=AGGIORNAMENTO',2,'FLGRIC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTVA','01',5,'DATA LETTURA',2,'DATTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTVA','01',6,'ORA LETTURA',2,'ORATEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTVA','01',7,'TIPO VASCA',2,'TIPVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUTVA','01',8,'DESCRIZIONE VASCA',2,'DESVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRUTVA','01',9,'CAPACITA'' HL',2,'CAP-HL',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V9(3)','',0,'',0,0,'' )
,('LRUTVI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTVI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRUTVI','01',3,'CODICE VIGNA',3,'CODVIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRUTVI','01',4,'TIPO RICH. I=INSERIMENTO A=AGGIORNAMENTO',2,'FLGRIC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRUTVI','01',5,'DATA LETTURA',2,'DATTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTVI','01',6,'ORA LETTURA',2,'ORATEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LRUTVI','01',7,'DESCRIZIONE VIGNA',2,'DESVIG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRV015','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV015','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV015','01',3,'DATA LIMITE',3,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV015','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV015','01',5,'ANNO LIMITE',4,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV015','01',6,'MESE LIMITE',4,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV015','01',7,'GIORNO LIMITE',4,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV015','01',8,'GRADO',3,'GRAMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV015','01',9,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('LRV019','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV019','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV019','01',3,'DATA LIMITE',3,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV019','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV019','01',5,'ANNO LIMITE',4,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV019','01',6,'MESE LIMITE',4,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV019','01',7,'GIORNO LIMITE',4,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV019','01',8,'GRADO',3,'GRAMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV019','01',9,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('LRV021','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV021','01',2,'DATA LIMITE VALIDITA''',2,'DATLIM',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV021','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV021','01',4,'ANNO LIMITE',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV021','01',5,'MESE LIMITE',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV021','01',6,'GIORNO LIMITE',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV021','01',7,'PERCENTUALE ROD',2,'PERROD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV021','01',8,'PERCENTUALE VINACCE',2,'PERVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV021','01',9,'PERCENTUALE ROD MECCANICA',2,'PERROM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV021','01',10,'PERCENTUALE VINACCE MECCANICA',2,'PERVIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV023','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV023','01',2,'DATA LIMITE VALIDITA''',2,'DATLIM',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV023','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV023','01',4,'ANNO LIMITE',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV023','01',5,'MESE LIMITE',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV023','01',6,'GIORNO LIMITE',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV023','01',7,'PERCENTUALE ROD',2,'PERROD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV023','01',8,'PERCENTUALE VINACCE',2,'PERVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV023','01',9,'PERCENTUALE ROD MECCANICA',2,'PERROM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV023','01',10,'PERCENTUALE VINACCE MECCANICA',2,'PERVIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV026','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV026','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV026','01',3,'CODICE RAGRUPPAMENTO',3,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV026','01',4,'FLAG MECCANICA',3,'FLGMEC',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV026','01',5,'CODICE REGISTRO',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV026','01',6,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV026','01',7,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV026','01',8,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('LRV026','01',9,'QUANTITA'' DIFFERENZA',2,'QTADIF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV026','01',10,'GRADO MEDIO DIFFERENZA',2,'GRADIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV026','01',11,'MONTEGRADI DIFFERENZA',2,'MONDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LRV026','01',12,'RAGRUPPAMENTO DIFFERENZA',2,'RAGDIF',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV026','01',13,'RAG. DIFFERENZA MECCANICA /S',2,'MECDIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV026','01',14,'QUANTITA'' DA ALTRI',2,'QTAALT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV026','01',15,'GRADO MEDIO DA ALTRI',2,'GRAALT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV026','01',16,'MONTEGRADI DA ALTRI',2,'MONALT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LRV026','01',17,'QUANTITA'' TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV026','01',18,'GRADO MEDIO TOTALE',2,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV026','01',19,'MONTEGRADI TOTALE',2,'MONTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('LRV026','01',20,'QUANTITA'' CONFERITA ORIGINALE',2,'QTAORG',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV026','01',21,'MONTEGRADI CONFERITO ORIGINALE',2,'MONORG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('LRV027','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV027','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV027','01',3,'CODICE RAGRUPPAMENTO',3,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV027','01',4,'FLAG MECCANICA',3,'FLGMEC',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',5,'CODICE REGISTRO',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV027','01',6,'DOC S/N',2,'DOCSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',7,'DA PIGIARE S/N',2,'PIGSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',8,'CALCOLO VINACCE IMMEDIATO S/N',2,'VINSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',9,'FERMARSI AL CALCOLO DEI ROD',2,'STOPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',10,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV027','01',11,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LRV027','01',12,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV027','01',13,'QUANTITA'' DIFFERENZA',2,'QTADIF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV027','01',14,'QUANTITA'' RASPI',2,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV027','01',15,'QUANTITA'' VINACCE',2,'QTAVNC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV027','01',16,'QUANTITA'' MOSTO',2,'QTAMOS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV027','01',17,'QUANTITA'' VINO NUOVO IN FERMENTAZIONE',2,'QTAVNF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRV027','01',18,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('LRV027','01',19,'FLAG DI M. VOL. MINORE DI M. VOL. MINIMA',2,'FLGMIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',20,'TRASFORMAZIONE MOSTO IN VMF S/N',2,'MOSVNF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',21,'PERCENTUALE ROD',2,'PERROD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV027','01',22,'PERCENTUALE VINACCE',2,'PERVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV027','01',23,'ANNOTAZIONI CARICHI VARI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',6,'',0,0,'' )
,('LRV027','01',24,'GIORNI INTERVALLO SCAR.VINANCCE DA MOSTO',2,'GINTSV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV027','01',25,'GIORNI INTERVALLO MOSTO DA KG A LT',2,'GINTKL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV027','01',26,'GIORNI INTERVALLO PASS. MOSTO A VNF',2,'GINTMV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV027','01',27,'SCARICO AUTOMATICO VINACCE DA MOSTO S/N',2,'FLAGSV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV027','01',28,'PASSAGGIO AUTOMATICO MOSTO LT A VNF S/N',2,'FLAGMV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV032','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV032','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV032','01',3,'CODICE RAGRUPPAMENTO',3,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV032','01',4,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV032','01',5,'QUANTITA'' DA SCARICARE',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV032','01',6,'FLAG INDICANTE RIGA TOTALI',2,'FLGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV033','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV033','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV033','01',3,'CODICE RAGRUPPAMENTO',3,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV033','01',4,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV033','01',5,'QUANTITA'' DA SCARICARE',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV033','01',6,'FLAG INDICANTE RIGA TOTALI',2,'FLGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LRV038','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV038','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV038','01',3,'DATA CONFRONTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV038','01',4,'CODICE RAGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV038','01',5,'QUANTITA'' CONFERITA CONFERIMENTI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV038','01',6,'MONTEGRADI CONFERITO CONFERIMENTI',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('LRV038','01',7,'QUANTITA'' CONFERITA PREELABORAZIONE',2,'QTACO1',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV038','01',8,'MONTEGRADI CONFERITO PREELABORAZIONE',2,'MONCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LRV039','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV039','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV039','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV039','01',4,'DATA SALDO',3,'DATSAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV039','01',5,'CODICE RAGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV039','01',6,'COLONNA',2,'ELECOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',30,'',0,0,'' )
,('LRV039','01',7,'CODICE COLONNA',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV039','01',8,'QUANTITA'' COLONNA',3,'QTACOL',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV040','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV040','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV040','01',3,'DATA',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV040','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV040','01',5,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV040','01',6,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV040','01',7,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV040','01',8,'NUMERO SEQUENZA',3,'NUMSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV040','01',9,'CODICE STABILIMENTO',3,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV040','01',10,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV040','01',11,'NUMERO INTERNO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRV041','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV041','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV041','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV041','01',4,'CODICE STABILIMENTO',3,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV041','01',5,'DATA CONFERIMENTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV041','01',6,'NUMERO INTERNO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRV044','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV044','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV044','01',3,'STABILIMENTO',3,'CODSTA',0,1,1,1,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV044','01',4,'CODICE REGISTRO',3,'CODREG',0,2,2,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV044','01',5,'CODICE RAGRUPPAMENTO',3,'CODRAG',0,3,0,0,0,0,1,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV044','01',6,'DATA',3,'DATREG',0,5,3,4,1,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV044','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV044','01',8,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV044','01',9,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV044','01',10,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV044','01',11,'NUMERO INTERNO',3,'NUMINT',0,6,4,5,2,2,3,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LRV044','01',12,'CODICE CAUSALE',3,'CODCAU',0,4,0,3,0,1,2,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV044','01',13,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('LRV044','01',14,'GRADO',2,'GRAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV044','01',15,'COLONNA',2,'ELECOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('LRV044','01',16,'CODICE COLONNA',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV044','01',17,'QUANTITA'' COLONNA',3,'QTACOL',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV045','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV045','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV045','01',3,'NOME ARCHIVIO',3,'NOMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LRV045','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LRV045','01',5,'AREA RECORD DA TRASFERIRE',2,'AREARE',0,0,0,0,0,0,0,0,0,0,'',4,0,231,231,0,0,'X(231)','',0,'',0,0,'' )
,('LRV046','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV046','01',2,'SEQUENZA',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV046','01',3,'CAUSALE',2,'CODCAU',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV047','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV047','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV047','01',3,'CODICE RAGRUPPAMENTO',3,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV047','01',4,'DESCRIZIONE RAGRUPPAMENTO',2,'DESRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LRV047','01',5,'QUANTITA'' CARICATA',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV047','01',6,'GRADO MEDIO',2,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV047','01',7,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV047','01',8,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV047','01',9,'CODICE REGISTRO',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV04X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV04X','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV04X','01',3,'CODICE STABILIMENTO',3,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV04X','01',4,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV04X','01',5,'DATA SALDO',3,'DATSAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV04X','01',6,'CODICE RAGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV04X','01',7,'COLONNA',2,'ELECOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',30,'',0,0,'' )
,('LRV04X','01',8,'CODICE COLONNA',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LRV04X','01',9,'QUANTITA'' COLONNA',3,'QTACOL',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LRV050','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LRV050','01',2,'DATA LIMITE VALIDITA''',2,'DATLIM',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV050','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV050','01',4,'ANNO LIMITE',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV050','01',5,'MESE LIMITE',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV050','01',6,'GIORNO LIMITE',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV050','01',7,'PERCENTUALE ROD',2,'PERROD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV050','01',8,'PERCENTUALE VINACCE',2,'PERVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV050','01',9,'PERCENTUALE ROD MECCANICA',2,'PERROM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV050','01',10,'PERCENTUALE VINACCIA MECCANICA',2,'PERVIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV053','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV053','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV053','01',3,'DATA LIMITE',3,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LRV053','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV053','01',5,'ANNO LIMITE',4,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV053','01',6,'MESE LIMITE',4,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV053','01',7,'GIORNO LIMITE',4,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LRV053','01',8,'GRADO',3,'GRAMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV053','01',9,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('LRV061','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV061','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LRV061','01',3,'NUMERO RECORD',3,'NUMREC',0,2,1,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LRV061','01',4,'CODICE RAGRUPPAMENTO',3,'CODRAG',0,1,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LRV061','01',5,'QUANTITA'' CARICATA',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LRV061','01',6,'MONTEGRADI',2,'MONTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LRV061','01',7,'GRADO MEDIO',2,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LRV061','01',8,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',6,'',0,0,'' )
,('LS0901','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0901','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0901','01',3,'TIPO SELEZIONE',3,'TIPSEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS0901','01',4,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('LS0901','01',5,'CODICE ARTICOLO (ATTRIBUTI MANCANTI)',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS0901','01',6,'NUMERI ATTRIBUTO MANCANTI',2,'NUMMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',5,'',0,0,'' )
,('LS0901','01',7,'LITRI',2,'LITATT',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LS0901','01',8,'IMPORTO',2,'IMPATT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LS0901','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LS0902','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0902','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0902','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS0902','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS0902','01',5,'LITRI',2,'LITART',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LS0902','01',6,'IMPORTO',2,'IMPART',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LS0902','01',7,'COSTO',2,'COSART',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,5,'S9(11)V99','S9(8)V9(5)',0,'',0,0,'' )
,('LS0902','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LS0903','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0903','01',2,'CODICE AGENTE',2,'CODAGE',1,1,2,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS0903','01',3,'CODICE CLIENTE',2,'CODCLI',2,3,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS0903','01',4,'CODICE ATTRIBUTO',2,'CODATT',3,2,1,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS0903','01',5,'LITRI',2,'LITATT',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LS0903','01',6,'IMPORTO',2,'IMPATT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LS0903','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS0904','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0904','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS0904','01',3,'ATTRIBUTO AGENTE',3,'ATTAGE',0,0,0,1,1,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS0904','01',4,'CODICE AGENTE',3,'CODAGE',0,1,1,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS0904','01',5,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,2,3,2,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS0904','01',6,'CODICE ATTRIBUTO ARTICOLO (FAMIGLIA)',3,'CODFAM',0,2,2,2,2,1,1,1,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS0904','01',7,'CANALE (X EVENTUALE ESPLOSIONE FAM.)',3,'CODCAN',0,0,3,0,3,0,2,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS0904','01',8,'NUMERO SETTIMANA 1/5',3,'NUMSET',0,3,4,3,4,3,4,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LS0904','01',9,'NUMERO ORDINE',3,'NUMORD',0,4,5,4,5,4,5,3,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS0904','01',10,'NUMERO RIGA ORDINE',3,'NUMRIG',0,5,6,5,6,5,6,4,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS0904','01',11,'LITRI',2,'LITATT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LS0904','01',12,'IMPORTO',2,'IMPATT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('LS0904','01',13,'IMPORTO ARROTONDATO ALL''EURO',2,'IMPDIV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LS09X3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS09X3','01',2,'CODICE AGENTE',2,'CODAGE',1,1,3,2,1,1,3,2,1,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS09X3','01',3,'CODICE CLIENTE',2,'CODCLI',3,2,2,1,4,3,4,3,2,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS09X3','01',4,'CODICE ATTRIBUTO',2,'CODATT',2,3,1,3,2,4,1,4,4,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09X3','01',5,'NUMERO ORDINE',2,'NUMORD',4,4,4,4,3,2,2,1,3,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS09X3','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('LS09X4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS09X4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS09X4','01',3,'ATTRIBUTO AGENTE',3,'ATTAGE',0,0,0,0,1,1,1,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09X4','01',4,'CODICE AGENTE',3,'CODAGE',0,1,1,1,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS09X4','01',5,'CODICE CLIENTE',3,'CODCLI',0,3,2,4,3,2,4,1,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS09X4','01',6,'CODICE ATTRIBUTO ARTICOLO (FAMIGLIA)',3,'CODFAM',0,2,0,2,2,0,2,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09X4','01',7,'CANALE (X EVENTUALE ESPLOSIONE FAM.)',3,'CODCAN',0,0,0,3,0,0,3,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09X4','01',8,'NUMERO SETTIMANA 1/5',3,'NUMSET',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LS09X4','01',9,'NUMERO ORDINE',3,'NUMORD',0,4,3,5,4,3,5,2,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS09X4','01',10,'NUMERO RIGA ORDINE',3,'NUMRIG',0,5,4,6,5,4,6,3,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS09Y1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS09Y1','01',2,'CODICE RAGRUPPAMENTO AGENTI',2,'CODRAG',6,2,6,4,2,5,6,2,6,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09Y1','01',3,'CODICE AGENTE',2,'CODAGE',4,6,2,5,5,2,2,6,5,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS09Y1','01',4,'CODICE CLIENTE',2,'CODCLI',3,4,4,3,4,4,5,5,4,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS09Y1','01',5,'CODICE CANALE DISTRIBUTIVO CLIENTE',2,'CODCAN',5,5,5,2,3,3,3,3,2,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09Y1','01',6,'CODICE ATTRIBUTO',2,'CODATT',2,3,3,6,6,6,4,4,3,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09Y1','01',7,'PERIODO',2,'CODPER',1,1,1,1,1,1,1,1,1,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS09Y1','01',8,'CLIENTE NUOVO S/N',2,'FLGNUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS09Y1','01',9,'LITRI',2,'LITATT',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LS09Y1','01',10,'IMPORTO',2,'IMPATT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LS09Y1','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LS09YY','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS09YY','01',2,'CODICE RAGRUPPAMENTO AGENTI',2,'CODRAG',1,5,5,1,5,1,3,2,4,6,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09YY','01',3,'CODICE AGENTE',2,'CODAGE',2,1,3,4,1,5,4,4,2,5,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS09YY','01',4,'CODICE CLIENTE',2,'CODCLI',3,4,4,5,6,6,2,3,3,4,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS09YY','01',5,'CODICE CANALE DISTRIBUTIVO CLIENTE',2,'CODCAN',4,6,6,6,2,2,5,5,5,1,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09YY','01',6,'CODICE ATTRIBUTO',2,'CODATT',5,2,1,2,3,3,6,6,6,2,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS09YY','01',7,'PERIODO',2,'CODPER',6,3,2,3,4,4,1,1,1,3,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS09YY','01',8,'LITRI',2,'LITATT',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LS09YY','01',9,'IMPORTO',2,'IMPATT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LS09YY','01',10,'CLIENTE NUOVO S/N',2,'FLGNUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LS09YY','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LS1202','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS1202','01',2,'ANNO MESE',2,'PERIOD',3,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS1202','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS1202','01',4,'ANNO',3,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS1202','01',5,'MESE',3,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS1202','01',6,'FLAG PERIODO',2,'FLGPER',2,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS1202','01',7,'CODICE AGENTE 0 SE PER TOTALE CANTINA',2,'CODAGE',1,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS1202','01',8,'NUMERO RIGA',2,'NUMRIG',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS1202','01',9,'ELEMENTO TIPO ARTICOLO',2,'ELETIP',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('LS1202','01',10,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LS1202','01',11,'IMPORTO VENDUTO',3,'IMPVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LS1202','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LS1253','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS1253','01',2,'ANNO MESE',2,'PERIOD',3,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS1253','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS1253','01',4,'ANNO',3,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS1253','01',5,'MESE',3,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS1253','01',6,'FLAG PERIODO',2,'FLGPER',2,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS1253','01',7,'CODICE AGENTE 0 SE PER TOTALE CANTINA',2,'CODAGE',1,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS1253','01',8,'NUMERO RIGA',2,'NUMRIG',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS1253','01',9,'ELEMENTO TIPO ARTICOLO',2,'ELETIP',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('LS1253','01',10,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LS1253','01',11,'IMPORTO VENDUTO',3,'IMPVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LS1902','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS1902','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS1902','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LS1902','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS1902','01',5,'IMPORTO VENDUTO',2,'IMPVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LS1902','01',6,'TIPO CLIENTE N=NUOVO V=VECCHIO',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS1902','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS2304','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2304','01',2,'DATA MOVIMENTO',2,'DATMOV',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LS2304','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2304','01',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS2304','01',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS2304','01',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS2304','01',7,'CODICE CAUSALE',2,'CODCAU',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS2304','01',8,'NUMERO INTERNO',2,'NUMINT',1,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS2304','01',9,'NUMERO AZIONI',2,'NUMAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,5,6,0,0,'S9(5)','',0,'',0,0,'' )
,('LS2304','01',10,'VALORE AZIONE',2,'VALAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LS2304','01',11,'NUMERO STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS2304','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS2305','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2305','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2305','01',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS2305','01',4,'ANNOTAZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LS2305','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('LS2306','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2306','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2306','01',3,'AREACO',3,'AREACO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS2306','01',4,'CODICE CONFERENTE',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',12,'',0,0,'' )
,('LS2306','01',5,'CERTIFICATO',3,'NUMCER',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LS2306','01',6,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS3201','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3201','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3201','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS3201','01',4,'DATA STAMPA',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LS3201','01',5,'RAGIONE SOCIALE',2,'DESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LS3202','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3202','01',2,'CODICE ARTICOLO',2,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS3202','01',3,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LS3202','01',4,'PRESENTE SU SECONDA AZIENDA ( /S)',2,'FLG2AZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LS3202','01',5,'TABELLA ATTRIBUTI PRIMA AZIENDA',2,'TABAT1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3202','01',6,'CODICE ATTRIBUTO PRIMA AZIENDA',3,'CODAT1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('LS3202','01',7,'TABELLA ATTRIBUTI SECONDA AZIENDA',2,'TABAT2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3202','01',8,'CODICE ATTRIBUTO SECONDA AZIENDA',3,'CODAT2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('LS3202','01',9,'DESCRI. CODICE ATTRIBUTO SECONDA AZIENDA',3,'DESCA2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',20,'',0,0,'' )
,('LS3203','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3203','01',2,'CODICE ARTICOLO PRIMA AZIENDA',2,'CODAR1',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS3203','01',3,'CODICE ARTICOLO SECONDA AZIENDA',2,'CODAR2',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS3203','01',4,'DESCRIZIONE ARTICOLO PRIMA AZIENDA',2,'DESAR1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LS3203','01',5,'DESCRIZIONE ARTICOLO SECONDA AZIENDA',2,'DESAR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LS3204','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3204','01',2,'NUMERO ATTRIBUO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS3204','01',3,'CODICE ATTRIBUTO AZIENDA 1',2,'CODAT1',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS3204','01',4,'CODICE ATTRIBUTO AZIENDA 2',2,'CODAT2',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LS3204','01',5,'DESCRIZIONE ATTRIBUTO PRIMA AZIENDA',2,'DESAT1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LS3204','01',6,'DESCRIZIONE ATTRIBUTO SECONDA AZIENDA',2,'DESAT2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LS3205','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3205','01',2,'CODICE ARTICOLO',2,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS3205','01',3,'TABELLA ATTRIBUTI PRIMA AZIENDA',2,'TABAT1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3205','01',4,'CODICE ATTRIBUTO PRIMA AZIENDA',3,'CODAT1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('LS3805','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3805','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS3805','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS3805','01',4,'AUMENTO CAPITALE DA CONTABILITA''',2,'IMPAUM',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LS3805','01',5,'AUMENTO SOVRAPREZZO DA CONTABILITA''',2,'IMPSPQ',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LS3805','01',6,'AUMENTO CAPITALE DA LIBRO SOCI',2,'AUMLSO',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LS38PV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS38PV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS38PV','01',3,'NUMERO BOLLETTA PUTNO VENDITA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LS38PV','01',4,'NUMERO RIGA BOLLETTA PUNTO VENDITA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS38PV','01',5,'NUMERO CONFEZIONE',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS38PV','01',6,'COMPONENTE RIGA',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS38PV','01',7,'PROGRESSIVO RECORD',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS38PV','01',8,'PRODOTTO',2,'PRODOT',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS38PV','01',9,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LS38PV','01',10,'ANNATA FORZATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LS38PV','01',11,'LOTTO PRESISTENTE SULLA RIGA SALVATO QUI',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LS38PV','01',12,'LOTTO ASSEGNATO DAL PICKING',2,'LOTASS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LS38PV','01',13,'ANNATA ASSEGNATA DAL PICKING',2,'ANNASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LS38PV','01',14,'RECORD DI APVENZ',2,'APVENZ',0,0,0,0,0,0,0,0,0,0,'',4,0,326,326,0,0,'X(326)','',0,'',0,0,'' )
,('LS5202','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5202','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5202','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS5202','01',4,'QUANTITA'' CONFERITA VENDEMMIA 1',2,'QTAVE1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS5202','01',5,'QUANTITA'' CONFERITA VENDEMMIA 2',2,'QTAVE2',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS5202','01',6,'SALDO CAPITALE SOCIALE',2,'SALCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5202','01',7,'NUMERO QUOTE DA CAPITALE SOCIALE',2,'QUOCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LS5202','01',8,'QUANTITA'' COPERTA DA CAPITALE SOCIALE',2,'QTACAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LS5202','01',9,'QUANTITA'' CONFERITA (QTACO1 + QTACO2)',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LS5202','01',10,'QUANTITA'' CONFERITA MEDIA',2,'QTAMED',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LS5202','01',11,'QUANTITA'' ECCEDENZA',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LS5202','01',12,'NUMERO QUOTE IN ECCEDENZA',2,'QUOECC',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LS5202','01',13,'IMPORTO INCREMENTO CAPITALE',2,'INCCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5202','01',14,'IMPORTO INCREMENTO RISERVA',2,'INCRIS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5207','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5207','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5207','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS5207','01',4,'IMPORTO INCREMENTO CAPITALE',2,'INCCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5207','01',5,'IMPORTO INCREMENTO RISERVA',2,'INCRIS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5207','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LS5209','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5209','01',2,'ANNO PARTITA/VENDEMMIA',2,'ANNVEN',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS5209','01',3,'DATA MOVIMENTO',2,'DATREG',2,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LS5209','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5209','01',5,'ANNO MOVIMENTO',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS5209','01',6,'MESE MOVIMENTO',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS5209','01',7,'GIORNO MOVIMENTO',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS5209','01',8,'INCREMENTO CAPITALE',2,'INCCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5209','01',9,'INCREMENTO RISERVA',2,'INCRIS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5604','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5604','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS5604','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS5604','01',4,'SALDO TRATTENUTE',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LS5604','01',5,'SALDO FUTURO AUMENTO',2,'IMPFUT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LS5604','01',6,'TRATTENUTE + FUTURO AUMENTO',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS5604','01',7,'NUMERO QUOTE DA SOTTOSCRIVERE/VERSARE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,0,'S9(6)','',0,'',0,0,'' )
,('LS5604','01',8,'CAPITALE DA SOTTOSCRIVERE/VERSARE',2,'IMPCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS5604','01',9,'EVENTUALE IMPORTO RESIDUO',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7601','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS7601','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS7601','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS7601','01',4,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7601','01',5,'ANNO VENDEMMIA',2,'ANNCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS7601','01',6,'VALORE QUOTE SOTTOSCRITTE',2,'IMPLIB',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LS7601','01',7,'NUMERO QUOTE SOTTOSCRITTE',2,'QUOLIB',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,0,'S9(6)','',0,'',0,0,'' )
,('LS7601','01',8,'QUINTALI SOTTOSCRITTI',2,'QTALIB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7601','01',9,'QUINTALI ECCEDENTI',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7601','01',10,'QUOTE DA SOTTOSCRIVERE',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS7601','01',11,'IMPORTO DA SOTTOSCRIVERE',2,'NEWIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LS7602','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS7602','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS7602','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LS7602','01',4,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7602','01',5,'ANNO VENDEMMIA',2,'ANNCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS7602','01',6,'ANNO PUNTA MASSIMA',2,'ANNPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS7602','01',7,'QUANTITA'' DA PUNTA MASSIMA',2,'QTAPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LS7602','01',8,'QUINTALI ECCEDENTI',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7602','01',9,'IMPORTO DA SOTTOSCRIVERE',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LS7603','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LS7603','01',2,'ANNO ELABORAZIONE',2,'ANNELA',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS7603','01',3,'ANNO PAGAMENTO',2,'ANNPAG',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LS7603','01',4,'QUANTITA'' ECCEDENZA',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LS7603','01',5,'PREZZO AL QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LS7603','01',6,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LS7603','01',7,'NUMERO ANNI',2,'NUMANN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LS7603','01',8,'AGG.TO CONTABILITA /S',2,'AGGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSACNE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSACNE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSACNE','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('LSACNE','01',4,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSACNE','01',5,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSACNE','01',6,'QTA TERZO PERIODO',2,'QUANT3',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSACNE','01',7,'QTA QUARTO PERIODO',2,'QUANT4',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSACNE','01',8,'QTA QUINTO PERIODO',2,'QUANT5',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSACNE','01',9,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSAG03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSAG03','01',2,'CODICE SOCIO',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSAG03','01',3,'SUPERFICIE CATASTO',2,'SUPCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LSAG03','01',4,'SUPERFICIE LIBRO SOCI',2,'SUPLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LSAG03','01',5,'ANNO VENDEMMIA LIBRO SOCI',2,'ANNLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSAG04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSAG04','01',2,'CODICE SOCIO',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSAG04','01',3,'SUPERFICIE CATASTO',2,'SUPCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LSAG04','01',4,'SUPERFICIE LIBRO SOCI',2,'SUPLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LSAG04','01',5,'ANNO VENDEMMIA LIBRO SOCI',2,'ANNLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSAG04','01',6,'TIPO FORNITORE (IN TOTO, IN PARTE...)',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSAG04','01',7,'TIPO FORNITORE PRECEDENTE',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSALM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSALM1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSALM1','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSALM1','01',4,'PRODOTTO',3,'PRODOT',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSALM1','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSALM1','01',6,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSALM1','01',7,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSALM1','01',8,'TIPO SALDO',3,'TIPSAL',0,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSALM1','01',10,'CODICE SALDO',3,'CODSAL',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSALM1','01',11,'QUANTITA''',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSALM1','01',12,'VALORIZZAZIONE',2,'VALSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LSANDC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSANDC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSANDC','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('LSANDC','01',4,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSANDC','01',5,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSANDC','01',6,'QTA TERZO PERIODO',2,'QUANT3',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSANDC','01',7,'QTA QUARTO PERIODO',2,'QUANT4',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSANDC','01',8,'QTA QUINTO PERIODO',2,'QUANT5',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSANDC','01',9,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSANT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSANT1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSANT1','01',3,'NOME TABELLA',3,'TABNAM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSANT1','01',4,'CHIAVE PRINCIPALE RECORD DA AGGIORNARE',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('LSAVER','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSAVER','01',2,'CHIAVE',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSAVER','01',3,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(4000)','',0,'',0,0,'' )
,('LSBB02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB02','01',2,'CHIAVE ORDINAMENTO ARTICOLI',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB02','01',3,'ATTRIBUTO ORDINAMENTO ARTICOLI 1',3,'ATTAR1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSBB02','01',4,'ATTRIBUTO ORDINAMENTO ARTICOLI 2',3,'ATTAR2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSBB02','01',5,'ATTRIBUTO ORDINAMENTO ARTICOLI 3',3,'ATTAR3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSBB02','01',6,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB02','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSBB02','01',8,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSBB02','01',9,'FLAG ANNATA',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSBB02','01',10,'DESCRIZIONE SUCCINTA ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSBB02','01',11,'QUANTITA'' PREVISTA MERCATO',2,'QTAMER',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',5,'',0,0,'' )
,('LSBB02','01',12,'FLAG ARTICOLO COMPATIBILE CON MERCATO',2,'FLGART',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('LSBB04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB04','01',2,'CHIAVE ORDINAMENTO ARTICOLI',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB04','01',3,'ATTRIBUTO ORDINAMENTO ARTICOLI 1',3,'ATTAR1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSBB04','01',4,'ATTRIBUTO ORDINAMENTO ARTICOLI 2',3,'ATTAR2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSBB04','01',5,'ATTRIBUTO ORDINAMENTO ARTICOLI 3',3,'ATTAR3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSBB04','01',6,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB04','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSBB04','01',8,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSBB04','01',9,'CODICE MERCATO',4,'CODMER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSBB04','01',10,'QUANTITA'' PREVISTA MERCATO',2,'QTAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSBB04','01',11,'QUANTITA'' VENDUTA MERCATO',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSBB04','01',12,'DIFFERENZA PREVISIONE - VENDUTO',2,'QTADIF',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('LSBB04','01',13,'PROIEZIONE ALLA DATA CALCOLO',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSBB04','01',14,'GIACENZA ARTICOLO',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('LSBB04','01',15,'FABBISOGNO LITRI',2,'QTAFAB',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,2,0,'S9(10)V99','',0,'',0,0,'' )
,('LSBB05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB05','01',2,'CHIAVE ORDINAMENTO ARTICOLI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSBB05','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSBB05','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSBB05','01',5,'FABBISOGNO LITRI',2,'QTAFAB',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,2,0,'S9(10)V99','',0,'',0,0,'' )
,('LSCAP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCAP1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCAP1','01',3,'DATA ANALISI',3,'DATANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSCAP1','01',4,'NUMERO ANALISI',3,'NUMANA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSCAP1','01',5,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCAP1','01',6,'STABILIMENTO',3,'VASSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSCAP1','01',7,'SETTORE',3,'VASSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSCAP1','01',8,'NUMERO',3,'VASNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCAP1','01',9,'TIPO ANALISI',2,'TIPANA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LSCAP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCAP2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCAP2','01',3,'NUMERO ANALISI',3,'NUMANA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSCAP2','01',4,'CHIAVE SECONDARIA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCAP2','01',5,'CODICE VOCE ANALISI',4,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCAP2','01',6,'VALORE/STRINGA',3,'FLAGVS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSCAP2','01',7,'STRINGA',2,'STRING',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSCAP2','01',8,'VALORE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'S',1,1,9,18,6,0,'S9(10)V9(6) COMP-3','',0,'',0,0,'' )
,('LSCO01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCO01','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSCO01','01',3,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSCO01','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCO01','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSCO01','01',6,'MODULO DI STAMPA FATTURA',2,'MODSTA',0,0,2,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSCO01','01',7,'NUMERO INTERNO FATTURA AFATT1',2,'INTFAT',0,0,3,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSCO01','01',8,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSCO01','01',9,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSCO01','01',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCO01','01',11,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCO01','01',12,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO01','01',13,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO01','01',14,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSCO01','01',15,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSCO01','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCO01','01',17,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCO01','01',18,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO01','01',19,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO01','01',20,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSCO01','01',21,'IMPORTO SCONTATO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSCO01','01',22,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSCO01','01',23,'FATTURA DA SCONTARE',2,'FLGSCO',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSCO01','01',24,'DIFFERENZA CAMBIO /S',2,'FLGCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSCO07','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCO07','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSCO07','01',3,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSCO07','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCO07','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSCO07','01',6,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSCO07','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSCO07','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCO07','01',9,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCO07','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSCO07','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO07','01',12,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSCO07','01',13,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSCO07','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCO07','01',15,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCO07','01',16,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO07','01',17,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSCO07','01',18,'IMPORTO RESIDUO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSCO07','01',19,'IMPORTO RESIDUO ANTICIPO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSCO07','01',20,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSCO07','01',21,'FATTURA DA PAGARE',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSCO07','01',22,'DEFFERENZA CAMBIO /S',2,'FLGCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSCTRM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCTRM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSCTRM','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSCTRM','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSCTRM','01',5,'LOTTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSCTRM','01',6,'GIACENZA MG MATERIE PRIME VALDOCA',2,'MATVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSCTRM','01',7,'GIACENZA MG MATERIE PRIME CANTINA',2,'MATCAN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSCTRM','01',8,'GIACENZA CMP IN MG PROD.FINITI CANTINA',2,'PRFCAN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSCTRM','01',9,'GIACENZA CMP IN ULTERIORI MAG.CANTINA',2,'MAGCAN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',2,'',0,0,'' )
,('LSCTRM','01',10,'GIACENZA CMP IN MAGAZZINI ESTERNI',2,'MAGEST',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',10,'',0,0,'' )
,('LSEQHL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSEQHL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSEQHL','01',3,'CODICE HELP',3,'CODHLP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSEQHL','01',4,'DESCRIZIONE HELP',2,'DESHLP',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LSEQHL','01',5,'PREVIDEATA',2,'PREVID',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSEQHL','01',6,'EGSTORE HELP',2,'GESHLP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSEQPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSEQPR','01',2,'CODICE REGISTRO',2,'CODREG',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSEQPR','01',3,'NUMERO REGISTRO',2,'NNRIVA',2,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSEQPR','01',4,'NUMERO PROTOCOLLO',2,'NUMPRO',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSEQPR','01',5,'DATA REGISTRAZIONE',2,'DATREG',4,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSEQPR','01',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSEQPR','01',7,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSEQPR','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSEQPR','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSEQPR','01',10,'NUMERO REGISTRAZIONE',2,'NUMREG',5,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSEQPR','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSEQPR','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSEQPR','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSEQPR','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSEQPR','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSEQPR','01',16,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSEQPR','01',17,'NUMERO REGISTRO EFFETTIVO PER INTRA',2,'REGEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSFO10','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSFO10','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSFO10','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSFO10','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('LSFO10','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSFO10','01',6,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13)  COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LSFO10','01',7,'QTA VALORIZZATA PRIMO PERIODO',2,'QUAPR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSFO10','01',8,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSFO10','01',9,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LSFO10','01',10,'QTA VALORIZZATA SECONDO PERIODO',2,'QUAPR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSFO12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSFO12','01',2,'CODICE BANCA',2,'CODBAN',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSFO12','01',3,'RIMESSE DIRETTE SCADUTE',2,'RIMSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LSFO12','01',4,'RIMESSE DIRETTE IN SCADENZA',2,'RIMDIR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LSFO12','01',5,'EFFETTI NON EMESSI',2,'NONEME',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LSFO12','01',6,'EFFETTI SCADUTI A RISCHIO',2,'EFFSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LSFO12','01',7,'EFFETTI IN SCADENZA',2,'EFFETT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LSFO12','01',8,'EFFETTI INSOLUTI',2,'INSOLU',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LSGG00','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG00','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG00','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG00','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LSGG00','01',5,'NUMERO DOCUMENTI',2,'NRDOC1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSGG00','01',6,'NUMERO DOCUMENTO PER CALCOLO NRDOC1',2,'NUMDO1',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSGG00','01',7,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',8,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',9,'COSTO STANDARD PRIMO PERIODO',2,'COSST1',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,4,0,'S9(11)V9(4)','',0,'',0,0,'' )
,('LSGG00','01',10,'NUMERO DOCUMENTI',2,'NRDOC2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSGG00','01',11,'NUMERO DOCUMENT PER CALCOLO NRDOC2',2,'NUMDO2',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSGG00','01',12,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',13,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',14,'COSTO STANDARD SECONDO PERIODO',2,'COSST2',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,4,0,'S9(11)V9(4)','',0,'',0,0,'' )
,('LSGG00','01',15,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG00','01',16,'CODICE VALUTA ALFANUMERICO PRIMO PER.',2,'XXXVA1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG00','01',17,'CODICE VALUTA PRIMO PERIODO',3,'CODVA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG00','01',18,'CODICE VALUTA ALFANUMERICO SEC. PERIODO',2,'XXXVA2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG00','01',19,'CODICE VALUTA SECONDO PERIODO',3,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG00','01',20,'DATI PER GESTIRE ENTRYPOINT "BAL"',2,'BALLAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG00','01',24,'IMPORTO TOTALE A LISTINO DI RIFERIMENTO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,5,0,'S9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('LSGG00','01',25,'QUANTITA'' PREZZO MINORE DEL RIFERIMENTO',3,'QTAMIN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',26,'LITRI PREZZO MINORE DEL RIFERIMENTO',3,'LITMIN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',27,'QUANTITA'' PREZZO MAGGIORE DEL RIFERIM.',3,'QTAMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG00','01',28,'LITRI PREZZO MAGGIORE DEL RIFERIM.',3,'LITMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG0H','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG0H','01',2,'CODICE CAMPO',2,'CODCAM',1,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LSGG0H','01',3,'ORDINE CAMPO IN HELP',2,'ORDCAM',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG0H','01',4,'DESCRIZIONE CAMPO PER HELP',2,'DESCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSGG0H','01',5,'LUNGHEZZA CAMPO IN CHIAVE',2,'LUNCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG0H','01',6,'DESCRIZIONE PER TESTATA',2,'TESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSGG0H','01',7,'EVENTUALE DES.AGGIUNTIVA PER TESTATA CSV',2,'TESCSV',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSGG0R','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG0R','01',2,'CODICE CAMPO',2,'CODCAM',1,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LSGG0R','01',3,'ORDINE CAMPO IN HELP',2,'ORDCAM',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG0R','01',4,'DESCRIZIONE CAMPO PER HELP',2,'DESCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSGG0R','01',5,'LUNGHEZZA CAMPO IN CHIAVE',2,'LUNCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSGG0R','01',6,'DESCRIZIONE PER TESTATA',2,'TESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSGG0R','01',7,'EVENTUALE DES.AGGIUNTIVA PER TESTATA CSV',2,'TESCSV',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSGG0X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG0X','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG0X','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG0X','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LSGG0X','01',5,'FLAG PERIODO',3,'FLGPER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG0X','01',6,'TIPO SOGGETTO C/N/S',3,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG0X','01',7,'CODICE SOGGETTO',3,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSGG10','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG10','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG10','01',3,'CLIENTE/AGENTE (A SECONDA DELLA SEL.)',3,'CLIAGE',0,2,2,2,2,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSGG10','01',4,'IMPORTO PRIMO PERIODO',2,'VAL001',0,1,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',5,'COMPLEMENTO IMPORTO PRIMO PERIODO',2,'COM001',0,0,1,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',6,'IMPORTO SECONDO PERIODO',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',7,'IMPORTO TERZO PERIODO',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',8,'IMPORTO QUARTO PERIODO',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',9,'IMPORTO QUINTO PERIODO',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',10,'MEDIA',2,'VALMED',0,0,0,1,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG10','01',11,'COMPLEMENTO MEDIA',2,'COMMED',0,0,0,0,1,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG20','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG20','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG20','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG20','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('LSGG20','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG20','01',6,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13)  COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LSGG20','01',7,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG20','01',8,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LSGG20','01',9,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG38','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG38','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG38','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LSGG38','01',5,'MESI PRIMO PERIODO',2,'ELEME1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',13,'',0,0,'' )
,('LSGG38','01',6,'QTA PRIMO PERIODO',3,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG38','01',7,'IMPORTO PRIMO PERIODO',3,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG38','01',8,'CODICE VALUTA ALFANUMERICO PRIMO PERIODO',3,'XXXVA1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG38','01',9,'CODICE VALUTA PRIMO PERIODO',4,'CODVA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG38','01',10,'MESI SECONDO PERIODO',2,'ELEME2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',13,'',0,0,'' )
,('LSGG38','01',11,'QTA SECONDO PERIODO',3,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG38','01',12,'IMPORTO SECONDO PERIODO',3,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG38','01',13,'CODICE VALUTA ALFANUMERICO SECONDO PER.',3,'XXXVA2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG38','01',14,'CODICE VALUTA SECONDO PERIODO',4,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG38','01',15,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG54','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG54','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG54','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG54','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LSGG54','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG54','01',6,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG54','01',7,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG54','01',8,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG54','01',9,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG79','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG79','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG79','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LSGG79','01',5,'PERIODI',2,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('LSGG79','01',6,'QTA PEZZI PERIODO',3,'QTAPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',13,'',0,0,'' )
,('LSGG79','01',7,'QTA LITRI PEZZI PERIODO',3,'QTALIT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',13,'',0,0,'' )
,('LSGG79','01',8,'IMPORTO PERIODO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',13,'',0,0,'' )
,('LSGG79','01',9,'IMPORTO SCONTI APPLICATI PERIODO',3,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',13,'',0,0,'' )
,('LSGG79','01',10,'CODICE VALUTA ALFANUMERICO PERIODO',3,'XXXVAL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',13,'',0,0,'' )
,('LSGG79','01',11,'CODICE VALUTA PERIODO',4,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG99','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG99','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG99','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG99','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LSGG99','01',5,'NUMERO DOCUMENTI',2,'NRDOC1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSGG99','01',6,'NUMERO DOCUMENTO PER CALCOLO NRDOC1',2,'NUMDO1',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSGG99','01',7,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',8,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',9,'NUMERO DOCUMENTI',2,'NRDOC2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSGG99','01',10,'NUMERO DOCUMENT PER CALCOLO NRDOC2',2,'NUMDO2',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSGG99','01',11,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',12,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',13,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG99','01',14,'CODICE VALUTA ALFANUMERICO PRIMO PER.',2,'XXXVA1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG99','01',15,'CODICE VALUTA PRIMO PERIODO',3,'CODVA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG99','01',16,'CODICE VALUTA ALFANUMERICO SEC. PERIODO',2,'XXXVA2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG99','01',17,'CODICE VALUTA SECONDO PERIODO',3,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSGG99','01',18,'DATI PER GESTIRE ENTRYPOINT "BAL"',2,'BALLAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG99','01',22,'IMPORTO TOTALE A LISTINO DI RIFERIMENTO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,5,0,'S9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('LSGG99','01',23,'QUANTITA'' PREZZO MINORE DEL RIFERIMENTO',3,'QTAMIN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',24,'LITRI PREZZO MINORE DEL RIFERIMENTO',3,'LITMIN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',25,'QUANTITA'' PREZZO MAGGIORE DEL RIFERIM.',3,'QTAMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG99','01',26,'LITRI PREZZO MAGGIORE DEL RIFERIM.',3,'LITMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSGG9X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG9X','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSGG9X','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSGG9X','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('LSGG9X','01',5,'FLAG PERIODO',3,'FLGPER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG9X','01',6,'TIPO SOGGETTO C/N/S',3,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSGG9X','01',7,'CODICE SOGGETTO',3,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSIM02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM02','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM02','01',3,'DATA INSERIMENTO',3,'DATINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM02','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM02','01',5,'ANNO INSERIMENTO',4,'AAAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM02','01',6,'MESE INSERIMENTO',4,'MMMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSIM02','01',7,'GIORNO INSERIMENTO',4,'GGGINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM02','01',8,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM02','01',9,'ANNOTAZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LSIM02','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSIM03','TA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM03','TA',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM03','TA',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM03','TA',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM03','TA',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM03','TA',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM03','TA',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM03','TA',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM03','TA',9,'IMPORTO PER QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LSIM03','TA',10,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSIM03','TA',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('LSIM03','TA',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM03','TA',13,'FILLER',2,'FIILER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LSIM04','CS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM04','CS',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM04','CS',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM04','CS',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM04','CS',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM04','CS',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM04','CS',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM04','CS',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM04','CS',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSIM04','CS',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LSIM04','CS',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('LSIM04','CS',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM04','CS',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSIM05','CV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM05','CV',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM05','CV',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM05','CV',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM05','CV',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM05','CV',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM05','CV',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM05','CV',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM05','CV',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSIM05','CV',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LSIM05','CV',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('LSIM05','CV',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM05','CV',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSIM06','SQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM06','SQ',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM06','SQ',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM06','SQ',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM06','SQ',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM06','SQ',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM06','SQ',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM06','SQ',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM06','SQ',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSIM06','SQ',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LSIM06','SQ',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('LSIM06','SQ',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM06','SQ',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSIM07','FI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM07','FI',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM07','FI',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM07','FI',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM07','FI',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM07','FI',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM07','FI',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM07','FI',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM07','FI',9,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,2,'9(12)','9(10)V99',0,'',0,0,'' )
,('LSIM07','FI',10,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,2,'9(12)','9(10)V99',0,'',0,0,'' )
,('LSIM07','FI',11,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM07','FI',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSIM08','CU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM08','CU',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM08','CU',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM08','CU',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM08','CU',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM08','CU',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM08','CU',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM08','CU',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM08','CU',9,'ANNO CONFERIMENTO',2,'AAACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM08','CU',10,'QUINTALI CONFERITI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LSIM08','CU',11,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM09','PM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM09','PM',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM09','PM',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM09','PM',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM09','PM',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM09','PM',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM09','PM',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM09','PM',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM09','PM',9,'ANNO CONFERIMENTO',2,'AAACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM09','PM',10,'QUINTALI CONFERITI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSIM09','PM',11,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM10','PE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM10','PE',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM10','PE',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM10','PE',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM10','PE',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM10','PE',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM10','PE',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM10','PE',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM10','PE',9,'ANNO',2,'AAACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM10','PE',10,'ETTARI',2,'ETTARI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSIM10','PE',11,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM10','PE',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSIM11','SU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM11','SU',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM11','SU',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM11','SU',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM11','SU',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM11','SU',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM11','SU',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM11','SU',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM11','SU',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSIM11','SU',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LSIM11','SU',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('LSIM11','SU',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM11','SU',13,'TIPO MOVIMENTO S/V',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSIM11','SU',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSIM12','PC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM12','PC',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM12','PC',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM12','PC',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM12','PC',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM12','PC',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM12','PC',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM12','PC',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM12','PC',9,'QUINTALI CONFERITI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSIM12','PC',10,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM12','PC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LSIM13','AC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM13','AC',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM13','AC',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM13','AC',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM13','AC',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM13','AC',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM13','AC',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM13','AC',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM13','AC',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSIM13','AC',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('LSIM13','AC',11,'IMPORTO SOTTOSCRITTO',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('LSIM13','AC',12,'IMPORTO VERSATO',2,'IMPVER',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSIM13','AC',13,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM14','PC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM14','PC',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM14','PC',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM14','PC',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM14','PC',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM14','PC',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM14','PC',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM14','PC',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM14','PC',9,'ETTARI',2,'ETTCRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,4,0,'S9(4)V9(4)','',0,'',0,0,'' )
,('LSIM14','PC',10,'ANNO AGGIORNAMENTO ETTARI',2,'AAETCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM14','PC',11,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM15','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM15','01',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM15','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM15','01',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM15','01',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM15','01',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM15','01',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM15','01',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM15','01',9,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSIM15','01',10,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM16','SU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM16','SU',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM16','SU',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM16','SU',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM16','SU',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM16','SU',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM16','SU',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM16','SU',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM16','SU',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSIM16','SU',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LSIM16','SU',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSIM16','SU',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSIM16','SU',13,'TIPO MOVIMENTO S/V',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSIM17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM17','01',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSIM17','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSIM17','01',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSIM17','01',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM17','01',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSIM17','01',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSIM17','01',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSIM17','01',9,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('LSIM17','01',10,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('LSIM17','01',11,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LSITDE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITDE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITDE','01',3,'UVA CHE VIENE DECLASSATA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LSITDE','01',4,'UVA DECLASSATA',3,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LSITDE','01',5,'DATA CONFERIMENTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSITDE','01',6,'NUMERO CONFERIMENTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSITDE','01',7,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LSITDE','01',8,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LSITDE','01',9,'GRADO CONFERIMENTO',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LSITDG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITDG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITDG','01',3,'CODICE RAGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LSITDG','01',4,'TIPO OPERAZIONE',3,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSITDG','01',9,'RAGRUPPAMENTO EVENTUALE DI ARRIVO',3,'RAG002',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LSITDG','01',10,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSITDG','01',11,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LSITF2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITF2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITF2','01',3,'TIPO MOVIMENTO',3,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSITF2','01',4,'RAGRUPPAMENTO BANCHE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSITF2','01',5,'BANCA',3,'GCSBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITF2','01',6,'GRUPPO',4,'GRUBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSITF2','01',7,'CONTO',4,'CONBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSITF2','01',8,'CONTO',4,'SOTBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSITF2','01',9,'PRIODO',3,'PERSCA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITF2','01',10,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSITF2','01',11,'MESE SCADENZA',4,'MESSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSITF2','01',12,'TIPO SOGGETTO C/F',3,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSITF2','01',13,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSITF2','01',14,'NUMERO PARTITA',3,'NNPART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSITF2','01',15,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSITF2','01',16,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSITF2','01',17,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LSITF2','01',18,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSITF2','01',19,'CODICE SOGGETTO (CLI/FOR)',3,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSITF2','01',20,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSITF2','01',21,'IMPORTO SCADUTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSITF2','01',22,'IMPORTO IN SCADENZA',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSITF2','01',23,'IMPORTO SCONTATO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSITF2','01',24,'SALDO BANCA',2,'SALBAN',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSITF2','01',25,'BANCA INTERNA (PER FATTURE ALLO SCONTO)',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSITF2','01',26,'FLAG RIBA',2,'FLGRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSITF2','01',27,'RIBA SCONTATE',2,'RIBSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSKVIZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSKVIZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSKVIZ','01',3,'RIFERIENTO SCHEDA VIAGGIO',3,'RIFDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSKVIZ','01',4,'TIPO DOCUMENTO',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSKVIZ','01',5,'CODICE AZIENDA',4,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSKVIZ','01',6,'CODICE AZIENDA',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSKVIZ','01',7,'RIFERIMENTO ARTICOLO',3,'RIFART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSKVIZ','01',8,'ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSKVIZ','01',9,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSKVIZ','01',10,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSKVIZ','01',11,'NUMERO ORDINE CLIENTE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSKVIZ','01',12,'NUMERO RIGA ORDINE CLIENTE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSKVIZ','01',13,'NUMERO COLLI ORDINATI',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LSKVIZ','01',14,'NUMERO COLLI CARICATI',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LSMWIS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSMWIS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSMWIS','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSMWIS','01',4,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSMWIS','01',5,'QUANTITA SCATOLE',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSMWIS','01',6,'QUANTITA PALETTE',2,'QTAPAL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSOCI2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOCI2','01',2,'CODICE SOCIO',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOCI3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOCI3','01',2,'RIGA ANNOTAZIONE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LSOCI5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOCI5','01',2,'NUMERO RECORD',2,'NUMREC',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOCI5','01',3,'CODICE ZONA CONFERIMENTO',2,'CODZON',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LSOCI5','01',4,'PERCENTUALE ZONA',2,'PERZON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSOL07','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL07','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL07','01',3,'CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL07','01',4,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL07','01',5,'CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL07','01',6,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LSOL07','01',7,'IMPORTO ESPOSIZIONE',2,'IMPESP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSOL07','01',8,'IMPORTO EFFETTI SBF',2,'IMPSBF',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSOL11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL11','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL11','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL11','01',4,'CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL11','01',5,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LSOL11','01',6,'A=FIDO AGENTE',2,'FLGFID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL11','01',7,'IMPORTO ESPOSIZIONE',2,'IMPESP',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL11','01',8,'IMPONIBILE FATTURATO ULTIMI 12 MESI',2,'TOTFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL11','01',9,'GIORNI INCASSO MEDIO',2,'PAGMED',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL17','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL17','01',3,'FLAG AFFIDAMENTO 1=SI 2=NO',3,'AFFIDA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL17','01',4,'CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL17','01',5,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL17','01',6,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSOL17','01',7,'NUMERO INTERNO (PER EVITARE DOPPIONI)',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSOL17','01',8,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,1,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSOL17','01',9,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL17','01',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL17','01',11,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL17','01',12,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL17','01',13,'FLAG NOTA ACCREDITO (SE SERVE ....)',2,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL18','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL18','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL18','01',3,'AFFIDATO 1=SI 2=NO',3,'AFFIDA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL18','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL18','01',5,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL18','01',6,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSOL18','01',7,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL18','01',8,'NUMERO RECORD AREGC3',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSOL18','01',9,'PROGRESSIVO RECORD AREGC3',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSOL18','01',10,'NUMERO PARTITA',2,'NNPART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL18','01',11,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOL18','01',12,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSOL18','01',13,'IMPORTO SCADUTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL18','01',14,'IMPORTO IN SCADENZA (NON USATO)',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSOL18','01',15,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL18','01',16,'DATA DENUNCIA',2,'DATDEN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL28','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL28','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL28','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL28','01',4,'DATA PAGAMENTO IPOTETICA',3,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL28','01',5,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSOL28','01',6,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSOL28','01',7,'IMPORTO SCADUTO',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL28','01',8,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL28','01',9,'AUTORIZZAZIONE (NEGRAR)',2,'TIPAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL28','01',10,'GIORNI PAGAMENTO MEDIO',2,'PAGMED',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSOL28','01',11,'DATA SCAGLIONE',2,'DATSCA',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSOL29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL29','01',2,'NUMERO RECORD',2,'NUMREC',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOL29','01',3,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL29','01',4,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LSOL29','01',5,'AFFIDATO S/N',2,'FIDSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL38','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL38','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSOL38','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LSOL38','01',5,'NUMERO DOCUMENTI PRIMO PERIODO',2,'NRDOC1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',6,'NUMERO DOCUMENTI SECONDO PERIODO',2,'NRDOC2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',7,'IMPORTO TOTALE FATTURE PRIMO PERIODO',2,'FATTT1',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSOL38','01',8,'IMPORTO TOTALE FATTURE SECONDO PERIODO',2,'FATTT2',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSOL38','01',9,'GG SCADENZA PRIMO PERIODO',2,'TGSCA1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',10,'GG SCADENZA SECONDO PERIODO',2,'TGSCA2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',11,'NR SCADENZE PRIMO PERIODO',2,'NNSCA1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',12,'NR SCADENZE SECODNO PERIODO',2,'NNSCA2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',13,'GG PAGAMENTO PRIMO PERIODO',2,'TGPAG1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',14,'GG PAGAMENTO SECONDO PERIODO',2,'TGPAG2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',15,'NR PAGAMENTI PRIMO PERIODO',2,'NNPAG1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',16,'NR PAGAMENTI SECONDO PERIODO',2,'NNPAG2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',17,'NUMERO INSOLUTI PRIMO PERIODO',2,'NRINS1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL38','01',18,'NUMERO INSOLUTI SECONDO PERIODO',2,'NRINS2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('LSOL39','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL39','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL39','01',3,'PROGRESSIVO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL39','01',4,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL39','01',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LSOL39','01',6,'FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSOL3X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL3X','01',2,'CHIAVE PRINCIPALE',2,'KEY001',3,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL3X','01',3,'TIPO SCADENZA',3,'TIPSCA',0,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL3X','01',12,'ANNO PARTITA',3,'ANNPAR',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOL3X','01',13,'NUMERO PARTITA',3,'NUMPAR',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSOL3X','01',14,'DATA SCADENZA',3,'DATSCA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL3X','01',15,'CODICE AZIENDA (X GESTIONE DOPPIA AZ.)',3,'CODAZI',0,5,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSOL3X','01',16,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LSOL3X','01',17,'SOLLECITI',2,'FLGSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSOL3X','01',18,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL3X','01',19,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSOL3X','01',20,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSOL3X','01',21,'DATA PAGAMENTO (SOLO TIPO RECORD 7)',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL3X','01',22,'FLAG SEGNO',2,'FLGSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL3X','01',23,'/* FLAG ULTIMA SCADENZA DELLA PARTITA',2,'FLGULT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL3X','01',24,'FLAG SE PAGAMENTO VALIDO X CALC. INC MED',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL3X','01',25,'DATA FATTURA SE NOTA DI ACCREDITO VALDO',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSOL3X','01',26,'S = SCADENZA CON SOLO FATTURA E N. ACC.',2,'SOLONO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL3X','01',27,'CODICE AGENTE',2,'CODAGE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL3X','01',28,'CODICE CAPO AREA',2,'CODCAP',2,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSOL3X','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('LSOL40','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL40','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL40','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL40','01',4,'NUMERO PARTITA',3,'NNPART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL40','01',5,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOL40','01',6,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSOL40','01',7,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSOL40','01',8,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL40','01',9,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL40','01',10,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LSOL40','01',11,'SALDO PARTITA',2,'SALPAR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL40','01',12,'TIPO DOCUMENTO F/N',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL52','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL52','01',3,'AREA CLIENTE',3,'AREACL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL52','01',4,'TIPO SOGGETTO CLIENTE/FORNITORE',4,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL52','01',5,'CODICE CLIENTE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL52','01',6,'RAGIONE SOCIALE',4,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LSOL52','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL52','01',8,'TOPO SOGGETTO CLIENTE/FORNITORE',4,'TIPSO1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSOL52','01',9,'RAGIONE SOCIALE',4,'RAGSO1',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LSOL52','01',10,'CODICE',4,'CODIC1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSOL52','01',11,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL52','01',12,'ANNO PARTITA',4,'AAAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOL52','01',13,'NUMERO PARTITA',4,'NNNPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSOL52','01',14,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSOL52','01',15,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSOL52','01',16,'ANNO DOCUMENTO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSOL52','01',17,'MESE DOCUMENTO',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSOL52','01',18,'GIORNO DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSOL52','01',19,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSOL52','01',20,'REGISTRO IVA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSOL52','01',21,'NAZIONE CLIENTE',2,'NAZION',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSOL52','01',22,'MODALITA'' PAGAMENTO',2,'PAGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSOL52','01',23,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL52','01',24,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL52','01',25,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSOL52','01',26,'IMPORTO SOGGETTO',2,'IMPSOG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL52','01',27,'IMPORTO NON SOGGETTO',2,'IMPNSG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSOL52','01',28,'CODICE CONTRATTO',2,'CODCNT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSOL52','01',29,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSOL52','01',30,'TIPO FIDO',2,'TIPFID',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSOL52','01',31,'MOTIVO ESCLUSIONE',2,'MOTESC',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LSPR02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSPR02','01',2,'DATA MOVIMENTO',2,'DATMOV',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSPR02','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSPR02','01',4,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSPR02','01',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSPR02','01',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSPR02','01',7,'CODICE CAUSALE',2,'CODCAU',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSPR02','01',8,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSPR02','01',9,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LSPR02','01',10,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LSPR02','01',11,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,0,'S9(11)','',0,'',0,0,'' )
,('LSPR02','01',12,'TIPO MOVIMENTO S/V',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSPR04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSPR04','01',2,'NOME TESTO',2,'NMFILE',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LSPR04','01',3,'CODICE SOCIO',2,'CODSOC',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSPR04','01',4,'CODICE CAUSALE',2,'CODCAU',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSPR04','01',5,'DATA MOVIMENTO',2,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSPR04','01',6,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,0,'S9(6)','',0,'',0,0,'' )
,('LSPR04','01',7,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LSPR04','01',8,'IMPORTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,2,0,'S9(6)V99','',0,'',0,0,'' )
,('LSPR04','01',9,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSPR04','01',10,'SOTTOSCRITTO/VERSATO',2,'SOTVER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSR111','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR111','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR111','01',3,'CLIENTE DI FATTURAZIONE (SE DIVERSO)',3,'ALTCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR111','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR111','01',5,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR111','01',6,'TIPO DOCUMENTO',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSR111','01',7,'CODICE TIPO INVESTIMENTO',3,'TIPINV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSR111','01',8,'NUMERO INVESTIMENTO',3,'NUMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR111','01',9,'IMPORTO INVESTIMENTO PERCENTUALE',2,'INVPER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR111','01',10,'IMPORTO INVESTIMENTO A LITRO',2,'INVLTR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR111','01',11,'IMPORTO INVESTIMENTO A PEZZO',2,'INVPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR111','01',12,'IMPORTO INVESTIMENTO FISSO',2,'INVIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR111','01',13,'PERIODO INIZIALE',2,'PERINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR111','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR111','01',15,'ANNO INIZIALE',3,'ANNINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSR111','01',16,'MESE INIZIALE',3,'MESINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSR111','01',17,'PERIODO FINALE',2,'PERFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR111','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR111','01',19,'ANNO FINALE',3,'ANNFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSR111','01',20,'MESE FINALE',3,'MESFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSR111','01',21,'TOTALE NUMERO PERIODICITA''',2,'TOTPER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSR111','01',22,'NUMERO PERIODICITA''',2,'NUMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSR111','01',23,'CODICE IVA SE SU TIPO INVESTIMENTO',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSR290','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR290','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR290','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSR290','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,110,110,0,0,'X(110)','',0,'',0,0,'' )
,('LSR290','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR290','01',6,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR290','01',7,'IMPORTO COSTO PRIMO PERIODO',2,'IMPCO1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR290','01',8,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR290','01',9,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR290','01',10,'IMPORTO COSTO SECONDO PERIODO',2,'IMPCO2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR290','01',11,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSR290','01',12,'CODICE VALUTA ALFANUMERICO PRIMO PER.',2,'XXXVA1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR290','01',13,'CODICE VALUTA PRIMO PERIODO',3,'CODVA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSR290','01',14,'CODICE VALUTA ALFANUMERICO SEC. PERIODO',2,'XXXVA2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR290','01',15,'CODICE VALUTA SECONDO PERIODO',3,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSR320','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR320','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR320','01',3,'ANNO MESE',3,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR320','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR320','01',5,'ANNO',4,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSR320','01',6,'MESE',4,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSR320','01',7,'CODICE AGENTE',3,'AGENTE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LSR320','01',8,'CODICE CLIENTE',3,'CODCNS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSR320','01',9,'CODICE PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR320','01',10,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSR320','01',11,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSR320','01',12,'QUANTITA',2,'QUANTI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',13,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',14,'IMPORTO INVESTIMENTO PERCENTUALE',2,'INVPER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',15,'IMPORTO INVESTIMENTO A LITRO',2,'INVLTR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',16,'IMPORTO INVESTIMENTO A PEZZO',2,'INVPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',17,'IMPORTO INVESTIMENTO FISSO',2,'INVIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',18,'IMPORTO PROVVIGIONI AGENTE',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',19,'IMPORTO COSTO MATERIE PRIME',2,'IMPMAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',20,'IMPORTO COSTO VINO',2,'IMPVIN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',21,'IMPORTO COSTI PRODUCIONE',2,'IMPPRD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',22,'IMPORTO COSTI GENERICI',2,'IMPGEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR320','01',23,'IMPORTO COSTI FISSI ARTICOLO',2,'IMPART',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR321','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR321','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('LSR321','01',4,'QUANTITA''',2,'QUANTI',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',5,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',6,'INVESTIMENTO PERCENTUALE',2,'INVPER',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',7,'INVESTIMENTO LITRI',2,'INVLTR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',8,'INVESTIMENTO PEZZI',2,'INVPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',9,'INVESTIMENTO IMPORTO FISSO',2,'INVIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',10,'PROVVIGIONE AGENTE',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',11,'IMPORTO COSTO MATERIE PRIME',2,'IMPMAT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSR321','01',12,'IMPORTO COSTO VINO',2,'IMPVIN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',13,'IMPORTO COSTO PRODUZIONE',2,'IMPPRD',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',14,'IMPORTO COSTO GENERICO',2,'IMPGEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR321','01',15,'IMPORTO COSTO FISSO ARTICOLO',2,'IMPART',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR322','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR322','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR322','01',3,'CHIAVE PER PAGINAZIONE',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSR322','01',4,'CODICE COMPONENTE',3,'CODCMP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSR322','01',5,'ANNATA COMPONENTE',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSR322','01',6,'DESCRIZIONE COMPONENTE',2,'DESCMP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSR322','01',7,'COSTO MATERIA PRIMA',2,'COSRED',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('LSR322','01',8,'COSTO STANDARD ANAGRAFICA ARTICOLI',2,'COSART',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('LSR322','01',9,'COSTO MEDIO',2,'COSMED',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('LSR322','01',10,'ULTIMO COSTO',2,'COSULT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('LSR322','01',11,'PERCENTUALE DIFFERENZA COSTO MEDIO',2,'PERMED',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,2,0,'S9(4)V99','',0,'',0,0,'' )
,('LSR322','01',12,'PERCENTUALE DIFFERENZA ULTIMO COSTO',2,'PERULT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,2,0,'S9(4)V99','',0,'',0,0,'' )
,('LSR380','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR380','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR380','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSR380','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LSR380','01',5,'QTA VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR380','01',6,'IMPORTO LORDO',2,'IMPLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR380','01',7,'IMPORTO NETTO',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR380','01',8,'IMPORTO PROVVIGIONI',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR380','01',9,'IMPORTO VALORE PRODUZIONE',2,'IMPACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,10,20,5,0,'S9(13)V9(5) COMP-3','',0,'',0,0,'' )
,('LSR380','01',10,'IMPORTO PREMI',2,'IMPPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR380','01',11,'DETTAGLIO COLONNA PREMI',2,'DETPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('LSR380','01',12,'IMPORTO SPESE TRASPORTO',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,16,2,0,'9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR380','01',13,'CODICE VALUTA ALFANUMERICO',2,'XXXVAL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR380','01',14,'CODICE VALUTA',3,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSR720','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR720','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR720','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSR720','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,110,110,0,0,'X(110)','',0,'',0,0,'' )
,('LSR720','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',6,'QTA X CALCOLO COSTO PRIMO PERIODO',2,'QUANC1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',7,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',8,'IMPORTO COSTO PRIMO PERIODO',2,'IMPCO1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',9,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',10,'QTA X CALCOLO COSTO SECONDO PERIODO',2,'QUANC2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',11,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',12,'IMPORTO COSTO SECONDO PERIODO',2,'IMPCO2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSR720','01',13,'TIPO SOGGETTO C/N/S',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSR720','01',14,'CODICE VALUTA ALFANUMERICO PRIMO PER.',2,'XXXVA1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR720','01',15,'CODICE VALUTA PRIMO PERIODO',3,'CODVA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSR720','01',16,'CODICE VALUTA ALFANUMERICO SEC. PERIODO',2,'XXXVA2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSR720','01',17,'CODICE VALUTA SECONDO PERIODO',3,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSRR09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR09','01',2,'CHIAVE ORDINAMENTO',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LSRR09','01',3,'ANNO FATTURA',2,'AA-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSRR09','01',4,'MESE FATTURA',2,'MM-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSRR09','01',5,'NUMERO INTERNO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSRR09','01',6,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSRR09','01',7,'CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSRR09','01',8,'NUMERO INVESTIMENTO',2,'NUMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSRR09','01',9,'IMPORTO PREMI IN FATTURA FORNITORE',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR09','01',10,'IMPORTO PREMI IN NOTA D''ACCREDITO',2,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR09','01',11,'IMPORTO TOTALE',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR10','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR10','01',3,'ANNO MESE',3,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSRR10','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR10','01',5,'ANNO',4,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSRR10','01',6,'MESE',4,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSRR10','01',7,'CODICE AGENTE',3,'AGENTE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LSRR10','01',8,'TIPO SOGGETTO',3,'FLGCNS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSRR10','01',9,'CODICE CLIENTE',3,'CODCNS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSRR10','01',10,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSRR10','01',11,'MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSRR10','01',12,'CODICE PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR10','01',13,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSRR10','01',14,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSRR10','01',15,'QUANTITA',2,'QUANTI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',16,'QUANTITA'' VENDUTA IN PROMOZIONE',2,'QUASCO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',17,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',18,'SCONTO FISSO (1+2+4+PAGAMENTO)',2,'SCOFIX',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',19,'SCONTO PROMOZIONALE (3)',2,'SCOPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',20,'IMPORTO INVESTIMENTO PERCENTUALE',2,'INVPER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',21,'IMPORTO INVESTIMENTO A LITRO',2,'INVLTR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',22,'IMPORTO INVESTIMENTO A PEZZO',2,'INVPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',23,'IMPORTO INVESTIMENTO FISSO',2,'INVIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',24,'IMPORTO PROVVIGIONI AGENTE',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',25,'IMPORTO PROVVIGIONI CAPO AREA',2,'IMPPCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',26,'IMPORTO SPESE TRASPORTO',2,'IMPSPT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',27,'IMPORTO COSTO PRODUZIONE',2,'COSTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',28,'FLAG COSTO = 0 (SE 0 = *)',2,'FLGCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSRR10','01',29,'QUANTITA'' SCONTO MERCE FUORI CANVASS',2,'QTASFC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',30,'QUANTITA'' TOTALE X CALCOLO FUORI CANVASS',2,'QTACFC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',31,'IMPORTO FUORI CANVASS',2,'IMPSFC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR10','01',32,'IMPORTO PER CALCOLO FUORI CANVASS',2,'IMPCFC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR11','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR11','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,49,49,0,0,'X(49)','',0,'',0,0,'' )
,('LSRR11','01',4,'QUANTITA''',2,'QUANTI',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',5,'QUANTITA'' VENDUTA IN PROMOZIONE',2,'QUASCO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',6,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',7,'SCONTO FISSO (1+2+4+PAG)',2,'SCOFIX',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',8,'SCONTO PROMOZIONALE (3)',2,'SCOPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',9,'INVESTIMENTO PERCENTUALE',2,'INVPER',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',10,'INVESTIMENTO LITRI',2,'INVLTR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSRR11','01',11,'INVESTIMENTO PEZZI',2,'INVPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',12,'INVESTIMENTO IMPORTO FISSO',2,'INVIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',13,'PROVVIGIONE AGENTE',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',14,'PROVVIGIONE CAPO AREA',2,'IMPPCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',15,'IMPORTO SPESE TRASPORTO',2,'IMPSPT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',16,'IMPORTO SPESE TRASPORTO',2,'COSTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',17,'FLAG SE ALMENO UN COSTO = 0 (*)',2,'FLGCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSRR11','01',19,'QUANTITA''',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',20,'QUANTITA'' VENDUTA IN PROMOZIONE',2,'QUASC2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',21,'IMPORTO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',22,'SCONTO FISSO (1+2+4+PAGAMENTO)',2,'SCOFI2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',23,'SCONTO PROMOZIONALE (3)',2,'SCOPR2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',24,'INVESTIMENTO PERCENTUALE',2,'INVPE2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',25,'INVESTIMENTO LITRI',2,'INVLT2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',26,'INVESTIMENTO PEZZI',2,'INVPZ2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',27,'INVESTIMENTO IMPORTO FISSO',2,'INVIM2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',28,'PROVVIGIONE AGENTE',2,'IMPPA2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',29,'PROVVIGIONE CAPO AREA',2,'IMPPC2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',30,'IMPORTO SPESE TRASPORTO',2,'IMPSP2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',31,'COSTO ......................',2,'COSTO2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR11','01',32,'FLAG SE ALMENO UN COSTO = 0 (*)',2,'FLGCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSRR1X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR1X','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSRR1X','01',3,'CLIENTE/AGENTE',3,'CLIAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSRR1X','01',4,'CODICE ARTICOLO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSRR1X','01',5,'ANNATA',3,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSRR1X','01',6,'QUANTITA'' VENDUTO',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR1X','01',7,'QUANTITA'' SCONTI MERCE FUORI CANVASS',2,'QTASFC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR1X','01',8,'IMPORTO FATTURA FUORI CANVASS',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR1X','01',9,'QUANTITA'' VENDUTO SECONDO PERIODO',2,'QTAVE2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR1X','01',10,'QUANTITA'' SC MERCE FUORI CANVASS 2 PER.',2,'QTASF2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSRR1X','01',11,'IMPORTO FATTURA FUORI CANVAS SEC.PERIODO',2,'IMPFA2',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSSC56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSC56','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSC56','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSSC56','01',4,'FINANZIAMENTO IMPIANTI LIBRO SOCI',2,'FINILS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',5,'FINANZIAMENTO IMPIANTI CONTABILITA''',2,'FINICO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',6,'CAPITALE SOCIALE LIBRO SOCI',2,'CAPILS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',7,'CAPITALE SOCIALE CONTABILITA''',2,'CAPICO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',8,'CAPITALE SOCIALE SOTTOSCRITTO LIBRO SOCI',2,'CAPSLS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',9,'CAPITALE SOCIALE SOTTOSCRITTO CONTABIL.',2,'CAPSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',10,'CAPITALE SOCIALE VERSATO LIBRO SOCI',2,'CAPVLS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',11,'CAPITALE SOCIALE VERSATO CONTABILITA''',2,'CAPVCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',12,'TASSA AMMISSIONE LIBRO SOCI',2,'TAAMLS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSC56','01',13,'TASSA AMMISSIONE CONTABILITA''',2,'TAAMCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSFVU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSFVU','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSFVU','01',3,'UVA O UVAGGIO A SECONDA DEL TIPO ELAB.',3,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LSSFVU','01',4,'CODICE SOCIO',3,'CODSOC',2,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSSFVU','01',5,'DESCRIZIONE UVAGGIO/UVA',2,'DUVAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSSFVU','01',6,'QLI POTENZIALI FINITO DI VENDEMMIARE',2,'FQLPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LSSFVU','01',7,'QLI CONFERITI FINITO DI VENDEMMIARE',2,'FQLCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LSSFVU','01',8,'QLI POTENZIALI NON FINITO DI VENDEMMIARE',2,'NQLPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LSSFVU','01',9,'QLI CONFERITI NON FINITO DI VENDEMMIARE',2,'NQLCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LSSPPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSPPA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSPPA','01',3,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSPPA','01',4,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSSPPA','01',5,'ANNATA ARTICOLO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSSPPA','01',6,'QUANTITA'' VENDUTA MENSILE',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',12,'',0,0,'' )
,('LSSSOD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSSOD','01',2,'CODICE CONFERENTE',2,'DATREG',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSSSOD','01',3,'TIPO REGISTRAZIONE',2,'TIPREG',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSSSOD','01',6,'NUMERO REGISTRAZIONE',2,'NUMREG',3,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSSSOD','01',7,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',4,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSSTCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSTCO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSTCO','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSSTCO','01',4,'FINANZIAMENTO IMPIANTI LIBRO SOCI',2,'FINILS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',5,'FINANZIAMENTO IMPIANTI CONTABILITA''',2,'FINICO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',6,'CAPITALE SOCIALE LIBRO SOCI',2,'CAPILS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',7,'CAPITALE SOCIALE CONTABILITA''',2,'CAPICO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',8,'CAPITALE SOCIALE SOTTOSCRITTO LIBRO SOCI',2,'CAPSLS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',9,'CAPITALE SOCIALE SOTTOSCRITTO CONTABIL.',2,'CAPSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',10,'CAPITALE SOCIALE VERSATO LIBRO SOCI',2,'CAPVLS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',11,'CAPITALE SOCIALE VERSATO CONTABILITA''',2,'CAPVCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',12,'TASSA AMMISSIONE LIBRO SOCI',2,'TAAMLS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTCO','01',13,'TASSA AMMISSIONE CONTABILITA''',2,'TAAMCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSSTME','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSTME','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSTME','01',3,'NUMERO REGISTRAZIONE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSSTMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSSTMO','01',2,'CODICE CONFERENTE',2,'DATREG',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSSTMO','01',3,'TIPO REGISTRAZIONE',2,'TIPREG',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSSTMO','01',6,'NUMERO REGISTRAZIONE',2,'NUMREG',3,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSSTMO','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSTAPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAPR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAPR','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LSTAPR','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LSTAPR','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSTAPR','01',6,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSTARI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTARI','01',2,'CODICE REGISTRO',2,'CODREG',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSTARI','01',3,'NUMERO REGISTRO',2,'NNRIVA',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTARI','01',4,'NUMERO PROTOCOLLO',2,'NUMPRO',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSTARI','01',5,'DATA REGISTRAZIONE',2,'DATREG',4,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSTARI','01',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTARI','01',7,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTARI','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSTARI','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTARI','01',10,'NUMERO REGISTRAZIONE',2,'NUMREG',5,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LSTARI','01',11,'NUMERO RIGA',2,'NUMRIG',6,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSTASS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTASS','01',2,'CODICE NAZIONE',2,'CODNAZ',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSTASS','01',3,'CODICE IVA',2,'CODIVA',2,1,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSTASS','01',4,'IMPONIBILE TOTALE',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSTASS','01',5,'IMPONIBILE FIDO A ZERO',2,'IMPFI0',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSTASS','01',6,'IMPONIBILE CLIENTI INTRA GRUPPO',2,'IMPCGR',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LSTAT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAT1','01',2,'PERIODO',2,'PERIOD',1,2,2,2,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LSTAT1','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAT1','01',4,'ANNO',3,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTAT1','01',5,'MESE',3,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTAT1','01',6,'GIORNO',3,'GGGGGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTAT1','01',7,'CODICE AGENTE',2,'AGENTE',2,0,1,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSTAT1','01',8,'SOGGETTO',2,'SOGGET',3,1,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAT1','01',9,'TIPO SOGGETTO',3,'FLGCNS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSTAT1','01',13,'CODICE SOGGETTO',3,'CODCNS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTAT1','01',14,'DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTAT1','01',15,'CODICE PRODOTTO',2,'CODPRO',4,0,4,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAT1','01',16,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSTAT1','01',17,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTAT1','01',18,'CODICE MAGAZZINO',2,'CODMAG',5,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTAT1','01',19,'FLAG CONFEZIONE MISTA',2,'FLGCMF',6,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSTAT1','01',23,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSTAT1','01',24,'QUANTITA'' OMAGGI',2,'OMAGGI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSTAT1','01',25,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSTAT1','01',26,'CODICE RAGRUPPAMENTO DESTINATARIO',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LSTAV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAV1','01',2,'CODICE PRODOTTO',2,'CODPRO',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTAV1','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSTAV1','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTAV1','01',5,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSTAV1','01',6,'QUANTITA'' OMAGGI',2,'OMAGGI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LSTAV1','01',7,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LSTCME','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTCME','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTCME','01',3,'DATA CONFERIMENTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSTCME','01',4,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTCME','01',5,'TARA',3,'QLTARA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LSTCME','01',6,'CODICE PRIMO ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSTCME','01',7,'TEMPERATURA',3,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LSTCME','01',8,'COLORE',3,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('LSTCME','01',9,'GRADO',3,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LSTCME','01',10,'FATTORE PH',3,'FATTPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LSTCME','01',11,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LSTRI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRI1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRI1','01',3,'CODICE RICLASSIFICAZIONE',3,'CODRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTRI1','01',4,'GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRI1','01',5,'CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRI1','01',6,'SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTRI1','01',7,'TOTALE DARE',2,'TOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSTRI1','01',8,'TOTALE AVERE',2,'TOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LSTRIA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIA','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LSTRIA','01',4,'TIPO CODICE (SEMPRE = C)',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSTRIA','01',5,'GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRIA','01',6,'CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRIA','01',7,'SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTRIA','01',8,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIA','01',9,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRIA','01',10,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LSTRIA','01',11,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSTRIA','01',12,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIA','01',13,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRIA','01',14,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTRIA','01',15,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTRIA','01',16,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LSTRIA','01',17,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSTRIA','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIA','01',19,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRIA','01',20,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTRIA','01',21,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTRIA','01',22,'DATA DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSTRIA','01',23,'DATA MASSIMA SCADENZA',2,'DATMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LSTRIA','01',24,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIA','01',25,'ANNO MASSIMO',3,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSTRIA','01',26,'MESE MASSIMO',3,'MMMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTRIA','01',27,'GIORNO MASSIMO',3,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSTRIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTRIC','01',2,'CHIAVE PRIMARIA',2,'CHIAVE',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LSTRIC','01',3,'STRINGA RICERCATA',2,'STRRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('LSTSPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTSPC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSTSPC','01',3,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LSTSPC','01',4,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSTSPC','01',5,'SUPERFICE IN PRODUZIONE',2,'TOTSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LSYSTO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSYSTO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LSYSTO','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LSYSTO','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LSYSTO','01',5,'DA AARTI6-01CODPAL',2,'CODPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LSYSTO','01',6,'DA AARTI6-01NRCART',2,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LSYSTO','01',7,'DA AARTI6-01COMPAL',2,'COMPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSYSTO','01',8,'DA AARTI6-01GESSYS',2,'GESSYS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LSYSTO','01',9,'DA AARTI6-01HFIFOP',2,'HFIFOP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LSYSTO','01',10,'DA AARTI6-01HFIFOV',2,'HFIFOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LSYSTO','01',11,'DA AARTI6-01CLASSM',2,'CLASSM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',4,'',0,0,'' )
,('LSYSTO','01',12,'TIPO UDM ARTICOLO',2,'ARTUMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LSYSTO','01',13,'DA ATBAUM-01NRCOMP',2,'NRCOMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LSYSTO','01',14,'DA AARTI1-01PESOLO',2,'PESOLO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('LSYSTO','01',15,'NUMERO DI ERRORI SUL RECORD (MAX 10)',2,'ERRORI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LSYSTO','01',16,'ERRRORE',2,'ERRORE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',10,'',0,0,'' )
,('LT0902','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT0902','01',2,'CHIAVE PER DETTAGLIO',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT0902','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LT0902','01',4,'CHIAVE PER RIEPILOGO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT0902','01',5,'CODICE UVA',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LT0902','01',6,'CODICE ZONA CONFERIMENTO',4,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LT0902','01',7,'CODICE SCELTA (SPACES = RECORD TOTALI)',4,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LT0902','01',8,'SUPERFICE VITATA (SOLO RECORD TOTALI)',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('LT0902','01',9,'SUPERFICE CERTIFICATA (SOLO RECORD TOT.)',2,'SUPCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('LT0902','01',10,'QUINTALI TOTALI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('LT0902','01',11,'MONTEGRADI TOTALE',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,4,0,'9(9)V9999 COMP-3','',0,'',0,0,'' )
,('LT0902','01',12,'SCAGLIONI RICLASSIFICAZIONE',2,'SCAGLI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('LT0902','01',13,'QUANTITA SCAGLIONE',3,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('LT0902','01',14,'MONTEGRADI SCAGLIONE',3,'MONSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,4,0,'9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('LT3815','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT3815','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT3815','01',3,'ANNO FATTURA',3,'ANNFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LT3815','01',4,'TIPO DOCUMENTO',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LT3815','01',5,'NUMERO REGISTRO',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LT3815','01',6,'NUMERO IVA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LT3815','01',7,'DAT AIVA',2,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LT3815','01',8,'CODICE VALUTA',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LT3815','01',9,'CAMBIO',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LT3815','01',10,'TOTALE MERCE',2,'TOTMER',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LT3815','01',11,'TOTALE SCONTO',2,'TOTSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LT3815','01',12,'TOTALE IMPONIBILE',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LT3815','01',13,'TOTALE IVA',2,'TOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LT3815','01',14,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LT3815','01',15,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LT3815','01',16,'CODICE DESTINATARIO',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('LT3815','01',17,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LT3815','01',18,'CODICE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LT7809','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT7809','01',2,'VITIGNO',2,'CODVIT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LT7809','01',3,'RESA',2,'RESTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('LT7809','01',4,'PREZZO DI VENDITA',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('LT7809','01',5,'PERC. SUPERFICE RISPETTO AL TOTALE',2,'PERSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('LT7809','01',6,'PERC. PREZZO RISPETTO AL TOTALE',2,'PERPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('LT7809','01',7,'PERCENTUALE MEDIA',2,'PERGEN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('LT7809','01',8,'IMPORTO DA ASSEGNARE AL VITIGNO',2,'IMPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LT7809','01',9,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LT7809','01',10,'GRADO MASSIMO',2,'GRAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LT7809','01',11,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LT7809','01',12,'QUINTALI CONFERITI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LT7809','01',13,'RESA INSERITA MANUALMENTE',2,'RESMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LT7809','01',14,'PREZZO INSERITO MANUALMENTE',2,'PREMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('LT7809','01',15,'MONTE RESE',2,'MONRES',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,5,0,'9(13)V9(5)','',0,'',0,0,'' )
,('LT7809','01',16,'MONTE PREZZI',2,'MONPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,5,0,'9(13)V9(5)','',0,'',0,0,'' )
,('LT7809','01',17,'VALORE DI Y PER IN VITIGNO',2,'YYYYYY',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,5,0,'S999V9(5)','',0,'',0,0,'' )
,('LT7810','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT7810','01',2,'GRADO',2,'GRASCA',1,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LT7810','01',3,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('LT7811','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT7811','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT7811','01',3,'VITIGNO',3,'CODVIT',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LT7811','01',4,'GRADO',3,'GRDCON',0,1,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LT7811','01',5,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LT789X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT789X','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT789X','01',3,'CODICE SOCIO',3,'CODSOC',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LT789X','01',4,'VITIGNO',3,'CODVIT',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LT789X','01',5,'DATA CONFERIMENTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LT789X','01',6,'NUMERO CONFERIMENTO',3,'NUMCON',0,3,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LT789X','01',7,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LT789X','01',8,'TIPO UVA SPAZIO = DOC    T = NON DOC',3,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LT789X','01',9,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LT789X','01',10,'QTA CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LT789X','01',11,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('LT789X','01',12,'GRADO',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LT789X','01',13,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LT789X','01',14,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',10,'',0,0,'' )
,('LT789X','01',15,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('LT789X','01',17,'MOLTIPLICATORE SE DOC',2,'VARDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LT789X','01',18,'VARIAZIONE PER GRADO (DA COSENO)',2,'VARGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,5,0,'S999V9(5)','',0,'',0,0,'' )
,('LT789X','01',19,'DETRAZIONE SUPERO RESA',2,'DETRES',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LT789X','01',20,'DETRAZIONE SOTTO GRADO MINIMO',2,'DETGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LT789X','01',21,'INDICE VARIAZIONI IN PERCENTUALE ATTR.',2,'VARATT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LT789X','01',22,'INDICE VARIAZIONE ATTRIBUTO 1',2,'VARA01',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LT789X','01',23,'INDICE VARIAZIONE ATTRIBUTO 2',2,'VARA02',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LT789X','01',24,'INDICE VARIAZIONE ATTRIBUTO 3',2,'VARA03',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LT789X','01',25,'VARIAZIONI IN VALORE ASSOLUTO',2,'VARASS',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,5,0,'S9(4)V9(5)','',0,'',0,0,'' )
,('LT789X','01',26,'PREZZO FISSO PER ATTRIBUTO',2,'IMPFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('LT789X','01',27,'PREZZO FISSO UVE ROSSE',2,'UVEROS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('LT789X','01',28,'CODICE VITIGNO UVE ROSSE',2,'VITROS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LT789X','01',29,'NUMERO FINALE',2,'NUMFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,5,0,'S9(8)V9(5)','',0,'',0,0,'' )
,('LT789X','01',30,'CODICE VITIGNO PER TABELLA',2,'VITTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTCELL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCELL','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCELL','01',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTCELL','01',4,'CHIAVE UTENTE',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCELL','01',5,'CHIAVE RECORD UTENTE',3,'USRKEY',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LTCELL','01',6,'STRINGA',2,'STRING',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(1000)','',0,'',0,0,'' )
,('LTCG01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG01','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTCG01','01',3,'DATA MOVIMENTO',3,'DATMOV',0,6,6,6,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTCG01','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG01','01',5,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTCG01','01',6,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTCG01','01',7,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTCG01','01',8,'CENTRO DI COSTO',3,'CENCOS',0,2,1,2,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LTCG01','01',9,'GRUPPO/CONTO/SOTTOCONTO',3,'GRCOSO',0,3,2,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG01','01',10,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTCG01','01',11,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTCG01','01',12,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTCG01','01',13,'FORNITORE',3,'CODFOR',0,1,3,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTCG01','01',14,'E = EXTRACONTABILI',3,'FLGEXT',0,4,4,4,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTCG01','01',15,'NUMERO REGISTRAZIONE',3,'NUMREG',0,5,5,5,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTCG01','01',16,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG01','01',17,'IMPONIBILE SECONDO PERIODO',2,'IMPO02',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG01','01',18,'TOTALE REGISTRAZIONE',2,'TOTREG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG01','01',19,'TOTALE REGISTRAZIONE SECONDO PERIODO',2,'TOTR02',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG01','01',20,'TIPO FORNITORE F/S FORNITORE/SOCIO',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTCG02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG02','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG02','01',3,'DATA MOVIMENTO',3,'DATMOV',0,6,6,6,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTCG02','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG02','01',5,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTCG02','01',6,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTCG02','01',7,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTCG02','01',8,'CENTRO DI RICAVO',3,'CENRIC',0,2,1,2,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LTCG02','01',9,'GRUPPO/CONTO/SOTTOCONTO',3,'GRCOSO',0,3,2,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCG02','01',10,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTCG02','01',11,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTCG02','01',12,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTCG02','01',13,'CLIENTE',3,'CODCLI',0,1,3,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTCG02','01',14,'E = EXTRACONTABILI',3,'FLGEXT',0,4,4,4,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTCG02','01',15,'NUMERO REGISTRAZIONE',3,'NUMREG',0,5,5,5,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTCG02','01',16,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG02','01',17,'IMPONIBILE SECONDO PERIODO',2,'IMPO02',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG02','01',18,'TOTALE REGISTRAZIONE',2,'TOTREG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCG02','01',19,'TOTALE REGISTRAZIONE SECONDO PERIODO',2,'TOTR02',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTCORV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCORV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCORV','01',3,'CODICE COLONNA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTCORV','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTCORV','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTCORV','01',6,'PRIMA DESCRIZIONE TABULATO',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',7,'SECONDA DESCRIZIONE TABULATO',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',8,'TERZA DESCRIZIONE TABULATO',2,'DES003',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',9,'QUARTA DESCRIZIONE TABULATO',2,'DES004',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',10,'UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTCORV','01',12,'DESCRIZIONE',2,'DESCR1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTCORV','01',13,'DESCRIZIONE SUCCINTA',2,'DESSU1',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTCORV','01',14,'PRIMA DESCRIZIONE TABULATO',2,'DES011',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',15,'SECONDA DESCRIZIONE TABULATO',2,'DES021',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',16,'TERZA DESCRIZIONE TABULATO',2,'DES031',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',17,'QUARTA DESCRIZIONE TABULATO',2,'DES041',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTCORV','01',18,'UNITA'' DI MISURA',2,'UNIMI1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTCORV','01',19,'X=COLONNA PRECARICATA',2,'COLPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTCORV','01',20,'X = NON USATA',2,'NONUSA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTCORV','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LTCSVF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTCSVF','01',2,'HOME DIRECTORY ONDINA',2,'ONDINA',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LTDMYS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTDMYS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTDMYS','01',3,'NOME FILE',3,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LTDMYS','01',4,'TRACCIATO',3,'CODTRC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTDMYS','01',5,'NOME FILE TABELLA FORIEGN KEY',3,'FILRFK',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LTDMYS','01',6,'TRACCIATO TABELLA FOREIGN KEY',3,'TRCRFK',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTDMYS','01',7,'NUMERO PROGRESSIVO FOREIGN KEY',3,'NUMRFK',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTDMYS','01',8,'NUMERO ELEMENTO IN FOREIGN KEY',3,'NELEFK',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTDMYS','01',9,'NOME CAMPO FOREIGN KEY',3,'NOMCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LTDMYS','01',10,'LUNGHEZZA CAMPO',2,'LENCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTDMYS','01',11,'NOME ESTESO',2,'NOMEST',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTDMYS','01',12,'AZIENDALE (S)',2,'FLGAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTDMYS','01',13,'VENDEMMIALE (S)',2,'FLGVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTDWCP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTDWCP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTDWCP','01',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTDWCP','01',4,'NUMERO COMMENTO',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTDWCP','01',5,'TIPO COMMENTO',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTDWCP','01',6,'TESTO COMMENTO',2,'TESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('LTDWCP','01',7,'NUMERO ?!?!?!?!?!',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('LTDWCP','01',8,'DATA',2,'DATCOM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTDWCP','01',9,'REDEFINES',2,'AMGCOM',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTDWCP','01',10,'ANNO',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTDWCP','01',11,'MESE',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTDWCP','01',12,'GIORNO',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEDTF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEDTF','01',2,'RIGA',2,'STRING',0,0,0,0,0,0,0,0,0,0,'',4,0,300,300,0,0,'X(300)','',0,'',0,0,'' )
,('LTEDTF','01',3,'RIGHE DA SALTARE (INTERLINEA)',2,'RIGSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTESOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTESOR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTESOR','01',3,'TIPO ORDINE',3,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTESOR','01',8,'NUMERO ORDINE (TIPO 4 = NUMERO BOLLA)',3,'NUMORD',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTESOR','01',9,'CODICE AZIENDA (X GESTIONE DOPPIA AZ.)',3,'CODAZI',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTESOR','01',10,'IMPORTO ORDINE (IVATO)',2,'IMPORD',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LTESOR','01',11,'DATA ORDINE (4 = DATA BOLLA)',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTESOR','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('LTESTO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTESTO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTESTO','01',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTESTO','01',4,'RIGA DI DESCRIZIONE',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LTEXBO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTEXBO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEXBO','01',3,'PROGRESSIVO (0 = RECORD TESTATA)',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTEXBO','01',4,'NUMERO TOTALE TRANSAZIONI',2,'NUMTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTEXBO','01',5,'IMPORTO TOTALE TRANSAZIONI',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LTEXBO','01',6,'CODICE CUC',2,'CODCUC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTEXBO','01',7,'DATA ESECUZIONE',2,'DATESE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTEXBO','01',8,'REDEFINES',2,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEXBO','01',9,'ANNO',3,'AAAESE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTEXBO','01',10,'MESE',3,'MMMESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEXBO','01',11,'GIORNO',3,'GGGESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEXBO','01',12,'CODICE IBAN BANCA ADDEBITO',2,'IBADEB',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('LTEXBO','01',13,'CODICE ABI BANCA DEBITRICE',2,'ABIDEB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LTEXBO','01',15,'CAUSALE TRANSAZIONE (FISSO SUPP)',2,'CAUTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTEXBO','01',16,'IMPORTO TRANSAZIONE',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LTEXBO','01',17,'DESCRIZIONE BENEFICIARIO',2,'DESBEN',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXBO','01',18,'IBAN BENEFICIARIO',2,'IBABEN',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('LTEXBO','01',19,'DESCRIZIONE MOVIMENTO',2,'DESMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXBO','01',20,'TIPO SOGGETTO S/F/C/V',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTEXBO','01',21,'CODICE SOGGETTO SOCIO/FOR/CLIENTE/VARIO',2,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTEXBO','01',22,'INDIRIZZO (VARI)',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXBO','01',23,'LOCALITA'' (VARI)',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXBO','01',24,'CAP (VARI)',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LTEXBO','01',25,'PROVINCIA (VARI)',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTEXRI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEXRI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEXRI','01',3,'DATA SCEDENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTEXRI','01',4,'REDEFINES',3,'AMGSCA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEXRI','01',5,'ANNO',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTEXRI','01',6,'MESE',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEXRI','01',7,'GIORNO',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEXRI','01',8,'TIPO SEQUENZA (PRIMO O SUCCESSIVI)',3,'TIPSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTEXRI','01',9,'PROGRESSIVO (0 = RECORD TESTATA)',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTEXRI','01',10,'NUMERO TOTALE TRANSAZIONI',2,'NUMTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTEXRI','01',11,'IMPORTO TOTALE TRANSAZIONI',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LTEXRI','01',12,'CODICE CUC',2,'CODSIA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LTEXRI','01',13,'CODICE CUC',2,'CODCUC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTEXRI','01',14,'DATA ESECUZIONE',2,'DATESE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTEXRI','01',15,'REDEFINES',2,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTEXRI','01',16,'ANNO',3,'AAAESE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTEXRI','01',17,'MESE',3,'MMMESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEXRI','01',18,'GIORNO',3,'GGGESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTEXRI','01',19,'CODICE IBAN BANCA SCONTO',2,'IBASCO',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('LTEXRI','01',20,'CODICE ABI BANCA SCONTO',2,'ABISCO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LTEXRI','01',22,'CAUSALE TRANSAZIONE (FISSO SUPP)',2,'CAUTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTEXRI','01',23,'IMPORTO TRANSAZIONE',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LTEXRI','01',24,'DESCRIZIONE DEBITORE',2,'DESDEB',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXRI','01',25,'IBAN DEBITORE',2,'IBADEB',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('LTEXRI','01',26,'DESCRIZIONE MOVIMENTO',2,'DESMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LTEXRI','01',27,'TIPO SOGGETTO S/F/C/V',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTEXRI','01',28,'CODICE SOGGETTO SOCIO/FOR/CLIENTE/VARIO',2,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTEXRI','01',29,'INDIRIZZO (VARI)',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXRI','01',30,'LOCALITA'' (VARI)',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTEXRI','01',31,'CAP (VARI)',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LTEXRI','01',32,'PROVINCIA (VARI)',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTGALV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTGALV','01',2,'CHIAVE MAGAZZINO-ALVEOLO-ARTICOLO-DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTGALV','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,1,3,2,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTGALV','01',4,'CODICE ALVEOLO',3,'CODALV',0,3,1,3,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LTGALV','01',5,'PRODOTTO',3,'CODPRO',0,2,2,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTGALV','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTGALV','01',7,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTGALV','01',8,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTGALV','01',9,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LTMPLO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTMPLO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTMPLO','01',3,'NUMERO INTERNO ORDINE',3,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTMPLO','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTMPLO','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTMPLO','01',6,'CHIAVE PER ARTICOLO/LOTTO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTMPLO','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTMPLO','01',8,'ANNATA ARTICOLO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTMPLO','01',9,'LOTTO SPEDITO',4,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTMPLO','01',10,'QUANTITA'' LOTTO',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('LTORE3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE3','01',3,'CHIAVE PER DIPENDENTE/DATA',3,'KDG001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE3','01',4,'RAGIONE SOCIALE DIPENDENTE',4,'KDGRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTORE3','01',5,'DIPENDENTE',4,'KDGDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTORE3','01',6,'ANNO',4,'KDGAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTORE3','01',7,'MESE',4,'KDGMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE3','01',8,'CHIAVE PER MESE/DIPENDENTE',3,'KMD001',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE3','01',9,'ANNO',4,'KMDAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTORE3','01',10,'MESE',4,'KMDMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE3','01',11,'RAGIONE SOCIALE DIPENDENTE',4,'KMDRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LTORE3','01',12,'DIPENDENTE',4,'KMDDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTORE3','01',13,'GIORNO (99=TOTALI MENSILI)',3,'KEYGGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE3','01',14,'CODICE DIPENDENTE',2,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTORE3','01',15,'DATA',2,'DTALAV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTORE3','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE3','01',17,'ANNO',3,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTORE3','01',18,'MESE',3,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE3','01',19,'GIORNO',3,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE3','01',20,'MINUTI LAVORATI',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',95,'',0,0,'' )
,('LTORE3','01',21,'MINUTI LAVORATI TOTALI',2,'ORETOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('LTORE4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE4','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTORE4','01',4,'DATA',3,'DTALAV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTORE4','01',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE4','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTORE4','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE4','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE4','01',9,'CLASSIFICAZIONE ORE',2,'CLASSE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTORE4','01',10,'REDFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE4','01',11,'TURNO',3,'FLGTUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTORE4','01',12,'NOTTURNO',3,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTORE4','01',13,'STRAORDINARIO',3,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTORE4','01',14,'FESTIVO',3,'FLGFES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTORE4','01',15,'MALATTIA',3,'FLGMAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTORE4','01',16,'FERIE',3,'FLGFER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTORE4','01',17,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('LTORE4','01',18,'ORE LAVORATE NUMERICO',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTORE4','01',19,'ORE AGGIUNTE NUMERICO',2,'OREAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTORE5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE5','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTORE5','01',4,'DATA DA CUI SOTTRATTE ORE STRAORDINARIE',3,'DTASOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTORE5','01',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE5','01',6,'ANNO',4,'AAASOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTORE5','01',7,'MESE',4,'MMMSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE5','01',8,'GIORNO',4,'GGGSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE5','01',9,'DATA SU CUI AGGIUNTE ORE',3,'DTAAGG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTORE5','01',10,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE5','01',11,'ANNO',4,'AAAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTORE5','01',12,'MESE',4,'MMMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE5','01',13,'GIORNO',4,'GGGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTORE5','01',14,'CLASSIFICAZIONE ORE SOTTRATTE',3,'CLASOT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTORE5','01',15,'ORE SOTTRATTE',3,'ORESOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LTORE5','01',16,'CLASSIFICAZIONE ORE AGGIUNTE',3,'CLAAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTORE5','01',17,'ORE AGGIUNTE',3,'OREAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LTORE6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE6','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTORE6','01',3,'TIPO DIPENDENTE',3,'TIPDIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('LTORE6','01',4,'MINUTI LAVORATI',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',95,'',0,0,'' )
,('LTORE6','01',5,'MINUTI LAVORATI TOTALI',2,'ORETOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('LTPAGX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTPAGX','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTPAGX','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTPAGX','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTPAGX','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTPAGX','01',6,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTRACO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRACO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRACO','01',3,'CHIAVE PRINCIPALE',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTRACO','01',4,'CODICE LINGUA',3,'CODLIN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTRACO','01',5,'NOME CAMPO',3,'NCAMPO',0,1,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LTRACO','01',6,'VALORE COSTANTE',2,'COSTAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LTRACO','01',7,'SECONDO VALORE COSTANTE',2,'COST02',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LTRACO','01',8,'LUNGHEZZA CAMPO',2,'LUNCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTRACO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('LTRCSV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRCSV','01',2,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(2048)','',0,'',0,0,'' )
,('LTREQ1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ1','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTREQ1','01',4,'CODICE MODALITA'' DI TRASPORTO',3,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTREQ1','01',5,'CODICE PORTO',3,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTREQ1','01',6,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTREQ1','01',7,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LTREQ1','01',8,'LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LTREQ1','01',9,'IMPORTO SPESE DI TRASPORTO',2,'SPETRA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LTREQ2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','00',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','00',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','00',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('LTREQ2','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','10',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','10',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','10',4,'TIPO RECORD ("10")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','10',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','10',6,'SALDO DARE',2,'SALDOD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LTREQ2','10',7,'SALDO AVERE',2,'SALDOA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LTREQ2','10',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LTREQ2','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','21',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','21',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','21',4,'TIPO RECORD ("21")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','21',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','21',6,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','21',7,'LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','21',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTREQ2','30',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','30',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','30',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','30',4,'TIPO RECORD ("30")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','30',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','30',6,'IMPORTO AMMORTAMENTO',2,'IMPAMM',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LTREQ2','30',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('LTREQ2','41',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','41',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','41',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','41',4,'TIPO RECORD ("41")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','41',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','41',6,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','41',7,'LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','41',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTREQ2','51',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','51',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTREQ2','51',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','51',4,'TIPO RECORD ("51")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','51',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','51',6,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','51',7,'LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','51',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTREQ2','60',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','60',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','60',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','60',4,'TIPO RECORD ("60")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','60',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','60',6,'QUANTITA''',2,'TOTQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','60',7,'IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LTREQ2','60',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LTREQ2','71',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','71',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','71',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','71',4,'TIPO RECORD ("71")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','71',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','71',6,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','71',7,'LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','71',8,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LTREQ2','71',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LTREQ2','81',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','81',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTREQ2','81',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTREQ2','81',4,'TIPO RECORD ("81")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTREQ2','81',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTREQ2','81',6,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','81',7,'LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,19,4,0,'S9(13)V9(4) COMP-3','',0,'',0,0,'' )
,('LTREQ2','81',8,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('LTREQ2','81',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LTRES5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRES5','01',2,'CODICE BREVE ARTICOLO',2,'CODABB',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTRES5','01',3,'NUMERO RODINE',2,'NUMORD',2,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LTRES5','01',4,'CODICE UTENTE',2,'CODUTE',3,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('LTRES5','01',5,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTRES5','01',6,'DATA ORDINE',2,'DTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTRES5','01',7,'DATA CONSEGNA',2,'DTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTRES5','01',8,'QUANTITA'' ORDINATA',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LTRES5','01',9,'STATO BLOCCO .RES AL MOMENTO DEL CARICO',2,'STSBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTRES5','01',10,'FLAG ORDINE RES BLOCCATO/CONGELATO (B/C)',2,'FLAGBC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTRES5','01',11,'CONSIDERATI IN CALC.DISP. (0=SI, 1=NO)',2,'FLGDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTRILL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRILL','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRILL','01',3,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTRILL','01',4,'AREA CONFERIMENTO',2,'AREACO',0,0,0,0,0,0,0,0,0,0,'',4,0,292,292,0,0,'X(292)','',0,'',0,0,'' )
,('LTRPRO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRPRO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRPRO','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTRPRO','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTRPRO','01',5,'QUANTITA'' CONFERITA IN KG',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LTRSPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRSPA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRSPA','01',3,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRSPA','01',4,'CODICE ARTICOLO',4,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTRSPA','01',5,'ANNATA ARTICOLO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTRSPA','01',6,'ANNO MESE',3,'AAAMMM',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRSPA','01',7,'ANNO',4,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTRSPA','01',8,'MESE',4,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTRSPA','01',9,'QUANTITA'' BOLLATA MENSILE',2,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LTRUCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUCV','01',2,'CHIAVE PRINCIPALE',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUCV','01',3,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTRUCV','01',4,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTRUCV','01',5,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LTRUCV','01',6,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LTRUCV','01',7,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LTRUCV','01',8,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUCV','01',9,'PROGRESSIVO ERRORE',4,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('LTRUCV','01',10,'STRINGA ERRORE',2,'ERRORE',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LTRUCV','01',11,'RIGA DETTAGLIO PER MESSAGGI PIU RIGHE',2,'RIGERR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTRUGF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUGF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUGF','01',3,'CODICE REGISTRO',3,'CODREG',0,1,1,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTRUGF','01',4,'ID FAMIGLIA',3,'IDFAMI',0,0,2,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LTRUGF','01',5,'ANNATA',3,'ANNATA',0,0,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTRUGF','01',6,'ID PRODOTTO',3,'IDPROD',0,2,5,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LTRUGF','01',7,'DATA GIACENZA',3,'DTAGIA',0,3,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTRUGF','01',8,'QTA GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('LTRUST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUST','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTRUST','01',3,'ID SUPERTESTATA MOVIMENTO',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LTRUST','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LTRUST','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LTRUST','01',6,'CARICO/SCARICO',2,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTRUST','01',7,'PRODOTTO',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LTRUST','01',8,'PROGRESSIVO OPERAZIONE GG',2,'LASTPO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTSALC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTSALC','01',2,'CHIAVE PER ORDINE ALFABETICO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTSALC','01',3,'DESCRIZIONE COMMERCIALIZZAZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTSALC','01',4,'CHIAVE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTSALC','01',5,'CODICE COMMERCIALIZZAZIONE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTSALC','01',6,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTSALC','01',7,'CODICE MANIPOLAZIONI (SE RICHIESTO)',4,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LTSALC','01',8,'QUANTITA CARICO LT',2,'QTLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LTSALC','01',9,'QUANTITA SCARICO LT',2,'QTLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LTSALC','01',10,'QUANTITA CARICO KG',2,'QTKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LTSALC','01',11,'QUANTITA SCARICO KG',2,'QTKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LTSEFA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTSEFA','01',2,'RANGE DA',2,'RNGINI',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTSEFA','01',3,'RANGE A',2,'RNGFIN',2,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTSICL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTSICL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTSICL','01',3,'TIPO SCADENZA',3,'TIPSCA',0,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTSICL','01',12,'ANNO PARTITA',3,'ANNPAR',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTSICL','01',13,'NUMERO PARTITA',3,'NUMPAR',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTSICL','01',14,'DATA SCADENZA',3,'DATSCA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTSICL','01',15,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTSICL','01',16,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTSICL','01',17,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTSICL','01',18,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTSICL','01',19,'CODICE AZIENDA (X GESTIONE DOPPIA AZ.)',3,'CODAZI',0,5,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTSICL','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LTSICL','01',21,'SOLLECITI',2,'FLGSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTSICL','01',22,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTSICL','01',23,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTSICL','01',24,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LTSICL','01',25,'DATA PAGAMENTO (SOLO TIPO RECORD 7)',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTSICL','01',26,'FLAG SEGNO',2,'FLGSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTSICL','01',27,'/* FLAG ULTIMA SCADENZA DELLA PARTITA',2,'FLGULT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTSICL','01',28,'FLAG SE PAGAMENTO VALIDO X CALC. INC MED',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTSICL','01',29,'DATA FATTURA SE NOTA DI ACCREDITO',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTSICL','01',30,'S = SCADENZA CON SOLO FATTURA E N. ACC.',2,'SOLONO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTSICL','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('LTV072','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV072','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV072','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTV072','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV072','01',5,'INDICE DISTINTA',3,'INDDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTV072','01',6,'TIPO CODICE (SPAZIO/C)',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTV072','01',7,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTV072','01',8,'ANNATA COMPONENTE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV072','01',9,'QTA COMPONENTE RIFERITA AD 1 ART.FINITO',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('LTV072','01',10,'PREZZO FIFO UNITARIO',2,'PRE006',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,0,0,'S9(5)V9(10)','',0,'',0,0,'' )
,('LTV079','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV079','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV079','01',3,'INDICE DISTINTA',3,'INDDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTV079','01',4,'TIPO CODICE',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTV079','01',7,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTV079','01',8,'ANNATA COMPONENTE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV079','01',9,'LOTTO COMPONENTE',3,'LOTCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTV079','01',10,'NUMERO PRODUZIONE',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTV079','01',11,'DATA PRODUZIONE',2,'DTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTV079','01',12,'MAGAZZINO DI PRODUZIONE',2,'MAGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTV079','01',13,'QTA COMPONENTE USATA NELLA PRODUZIONE',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('LTV079','01',14,'PREZZO FIFO UNITARIO',2,'PRE006',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,0,0,'S9(5)V9(10)','',0,'',0,0,'' )
,('LTV081','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV081','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV081','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTV081','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV081','01',5,'QTA.ACQUISTATA',2,'QTAACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LTV081','01',6,'VALORE QTA ACQUISTATA',2,'VALACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,18,20,5,0,'S9(13)V9(5)','',0,'',0,0,'' )
,('LTV103','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV103','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV103','01',3,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTV103','01',4,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTV103','01',5,'NUMERO RIGA',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV103','01',6,'QTA MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LTV103','01',7,'VALORE MOVIMENTO',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LTV103','01',8,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('LTV172','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV172','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV172','01',3,'DATA MOVIMENTO (COMPLEMENTO)',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTV172','01',4,'NUMERO MOVIMENTO (COMPLEMENTO)',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTV172','01',5,'NUMERO RIGA (COMPLEMENTO)',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV172','01',6,'QTA MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LTV172','01',7,'VALORE MOVIMENTO',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LTV172','01',8,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('LTV172','01',9,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTV172','01',10,'NUMERO REALE',2,'NUMREL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTV172','01',11,'RIGA REALE',2,'RIGREL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV172','01',12,'NUMERO RIGA CAUSALI PARTICOLARI',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTV172','01',13,'NUMERO RIGA CAUSALE PARTICOLARE',2,'RIGPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV179','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV179','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTV179','01',3,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTV179','01',4,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTV179','01',5,'NUMERO RIGA',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTV179','01',6,'QTA MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LTV179','01',7,'VALORE MOVIMENTO',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LTV179','01',8,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('LTVALL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALL','01',3,'ID RECORD',3,'ID-REC',0,2,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('LTVALL','01',4,'PRODOTTO DI PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALL','01',5,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LTVALL','01',6,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALL','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTVALL','01',8,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTVALL','01',9,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTVALL','01',10,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTVALL','01',11,'NUMERO MOVIMENTO MAGAZZINO',2,'MOVMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('LTVALL','01',12,'CODICE CAUSALE MAGAZZINO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LTVALL','01',13,'QUANTITA TOTALE LOTTO',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LTVALL','01',14,'VALORE TOTALE LOTTO',2,'VALLOT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LTVALL','01',15,'QUANTITA''',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LTVALL','01',16,'VALORIZZAZIONE',2,'VALPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LTVALL','01',17,'ID LINK CON RECORD PADRE',2,'ID-LNK',0,1,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('LTVALL','01',18,'CHIAVE PER RAPPRESENTAZIONE AD ALBERO',2,'ID-SRT',0,0,1,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTVALL','01',19,'LIVELLO INDENTAZIONE',2,'ID-LEV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('LTVALL','01',20,'ESITO SUL DETTAGLIO',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTVALV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALV','01',3,'PROGRESSIVO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTVALV','01',4,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVALV','01',5,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTVALV','01',6,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('LTVALV','01',7,'COSTO AL LITRO',2,'COSTLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LTVALV','01',8,'COSTO ACQUISTO',2,'COSACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LTVALV','01',9,'QTA RIFERIMENTO COSOT ACQUISTO',2,'QTAACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('LTVALV','01',10,'CODICE VARIETA''',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTVALV','01',11,'VARIETA'' ORIGINE (SOLO ACQUISTI)',2,'VARORI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LTVALV','01',12,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTVALV','01',13,'FLAG NO TABELLA CARICHI VENDEMMIA ( /S)',2,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVALV','01',14,'FLAG DOC. ACQUISTO COLLEGATO',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVALV','01',18,'RIFERIMENTI DOCUMENTO ACQUISTO',2,'DOCACQ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVALV','01',19,'CODICE AZINEDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVALV','01',20,'NUMERO BOLLA ACQUISTO',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTVALV','01',21,'NUMERO RIGA ACQUISTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVAP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAP1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAP1','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTVAP1','01',4,'FLAG 1=SCARICO/2=CARICO/4=AGGIUNTA P.ENO',3,'FLAGCS',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAP1','01',5,'CHIAVE PARTITA/DATA/NUMERO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAP1','01',6,'CODICE PARTITA',4,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAP1','01',7,'ANNO PARTITA',5,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTVAP1','01',8,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVAP1','01',9,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('LTVAP1','01',10,'DATA E ORA MOVIMENTO',4,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAP1','01',11,'DATA MOVIMENTO',5,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LTVAP1','01',12,'ORA MOVIMENTO',5,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LTVAP1','01',13,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('LTVAP1','01',14,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('LTVAP1','01',15,'FLAG CARICO DA TRAVASO STESSA PARTITA',2,'FLGCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAPA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAPA','01',3,'PROGRESSIVO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTVAPA','01',4,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVAPA','01',5,'0=RECORD ALBERO 1=RECORD DETT.MOV.P.ENO',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTVAPA','01',6,'ANOMALIA COSTI RAMI SOTTOSTANTI',2,'FLGANO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',7,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVAPA','01',8,'ANNO PARTITA',3,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LTVAPA','01',9,'TIPO PARTITA',3,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVAPA','01',10,'NUMERO PARTITA',3,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('LTVAPA','01',11,'QUANTITA''',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LTVAPA','01',12,'COSTO A HL',2,'COSHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LTVAPA','01',13,'COSTO PRODOTTI ENOLOGICI A HL',2,'COEHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LTVAPA','01',14,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LTVAPA','01',15,'FLAG NO TABELLA COSTI VENDEMMIA ( /S)',2,'FLGNOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',16,'FLAG NO TABELLA COSTI PARTITA ( /S)',2,'FLGNOP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',17,'FLAG NO QTA. QUINDI NO COSTO ( /S)',2,'FLGNOQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',18,'FLAG CARICO DA TRAVASO STESSA PARTITA',2,'FLGCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',19,'FLAG COSTO P.ENOLOGICO NON TROVATO ( /S)',2,'FLGNOE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVAPA','01',21,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTVAPA','01',22,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('LTVAPA','01',24,'TOTALE IMPORTO PRODOTTI AGGIUNTI',2,'IMPAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LTVAPA','01',25,'GIACENZA PARTITA RIF. PRODOTTI AGGIUNTI',2,'GIAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LTVGGG','01',3,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVGGG','01',4,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVGGG','01',5,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTVGGG','01',6,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVGGG','01',7,'INDICE DISTINTA',3,'INDDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTVGGG','01',8,'TIPO CODICE (SPAZIO/C)',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVGGG','01',9,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTVGGG','01',10,'ANNATA COMPONENTE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVGGG','01',11,'QUANTITA'' COMPONENTE',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('LTVGGG','01',12,'PREZZO DA ANAGRAFICA UNITARIO',2,'PRE001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',13,'PREZZO DA ANAGRAFICA TOTALE',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',14,'COSTO STANDARD UNITARIO',2,'PRE002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',15,'COSTO STANDARD TOTALE',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',16,'COSTO MEDIO UNITARIO',2,'PRE003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',17,'COSTO MEDIO TOTALE',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',18,'ULTIMO COSTO UNITARIO',2,'PRE004',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',19,'ULTIMO COSTO TOTALE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',20,'VAL. DA ANAG. PROD.FIN. O C.MED. COMP.U',2,'PRE005',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',21,'VAL. DA ANAG. PROD.FIN. O C.MED. COMP.T',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',22,'F.I.F.O. UNITARIO',2,'PRE006',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',23,'F.I.F.O. TOTALE',2,'VAL006',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',24,'PREZZO MODO DI VALORIZZAZIONE 7',2,'PRE007',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',25,'VALORE MODO DI VALORIZZAZIONE 7',2,'VAL007',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',26,'QTA USATA IN PRODUZIONI (FIFO 079)',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('LTVGGG','01',27,'TOT.VALORE QTA USATA IN PROD.(FIFO 079)',2,'VALPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,5,0,'S9(11)V9(5)','',0,'',0,0,'' )
,('LTVGGG','01',28,'TIPO PREZZO V=DA VENDITE',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVGGG','01',29,'TIPO VALORIZZAZIONE (Soave)',2,'TIPCAL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVGGG','01',30,'CODICE ERRORE VALORIZZAZIONE',2,'CODERR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVGGG','01',31,'CODICE SPIEGAZIONE VALORIZZAZIONE',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVGGG','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,162,162,0,0,'X(162)','',0,'',0,0,'' )
,('LTVIS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVIS1','01',2,'CHIAVE SORT',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVIS1','01',3,'CHIAVE SORT',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,240,240,0,0,'X(240)','',0,'',0,0,'' )
,('LTVIS1','01',4,'NUMERO ORDINE BLOCCHI (9999 RIGA INS)',3,'NRBLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS1','01',5,'NUMERO PROGRESSIVO RIGA DEL BLOCCO',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS1','01',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTVIS1','01',7,'?',2,'KEYBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LTVIS1','01',8,'?',2,'ATRCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVIS1','01',9,'?',2,'SALBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVIS1','01',10,'DETTAGLIO CAMPI',2,'DETRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(4000)','',0,'',0,0,'' )
,('LTVIS2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVIS2','01',2,'CHIAVE SORT',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LTVIS2','01',3,'FLAG',3,'FLAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTVIS2','01',4,'INDICE',3,'IND',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS2','01',5,'NUMERO CAMPO',2,'NUMCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVIS5','01',2,'NUMERO PROGRESSIVO BLOCCHI',2,'NRBLOC',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS5','01',3,'ID BLOCCO DA RSTITUIRE AL PGM CHIAMANTE',2,'IDBLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LTVIS6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVIS6','01',2,'NUMERO ORDINE BLOCCHI (9999 RIGA INS)',2,'NRBLOC',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS6','01',3,'NUMERO PROGRESSIVO RIGA DEL BLOCCO',2,'NRRIGA',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVIS6','01',4,'DETTAGLIO CAMPI',2,'DETRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(2000)','',0,'',0,0,'' )
,('LTVISB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVISB','01',2,'NUMERO PROGRESSIVO BLOCCHI',2,'NRBLOC',1,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVISB','01',3,'CHIAVE LOGICA',2,'CHIAVE',0,1,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('LTVISB','01',4,'ATTRIBUTO COLORE " "=NORMALE 1=DIVERSO',2,'ATRCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVISB','01',5,'SALTA BLOCCO CON CURSORE (S/N)',2,'SALBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVISC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVISC','01',2,'NUMERO ORDINE BLOCCHI',2,'NRBLOC',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVISC','01',3,'NUMERO PROGRESSIVO RIGA DEL BLOCCO',2,'NRRIGA',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVISC','01',4,'DETTAGLIO CAMPI',2,'DETRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(4000)','',0,'',0,0,'' )
,('LTVISL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVISL','01',2,'NUMERO PROGRESSIVO STRINGHE',2,'PROGRE',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LTVISL','01',3,'NUMERO LIVELLO',2,'NLEVEL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTVISL','01',4,'VISIBILE 0=NO 1=SI',2,'FLGVIS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LTVISL','01',5,'"+"=IMPLOSA "-"=ESPLOSA " "=NO LIV >',2,'FLGESP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVISL','01',6,'STRINGA',2,'STRING',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(2000)','',0,'',0,0,'' )
,('LTVISR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVISR','01',2,'NUMERO ORDINE BLOCCHI (9999 RIGA INS)',2,'NRBLOC',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVISR','01',3,'NUMERO PROGRESSIVO RIGA DEL BLOCCO',2,'NRRIGA',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVISR','01',4,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LTVISR','01',5,'DETTAGLIO CAMPI',2,'DETRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(4000)','',0,'',0,0,'' )
,('LTVISX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVISX','01',2,'RIGA CSV',2,'RIGCSV',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(2000)','',0,'',0,0,'' )
,('LTVRGG','01',3,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVRGG','01',4,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LTVRGG','01',5,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTVRGG','01',6,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVRGG','01',7,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTVRGG','01',8,'INDICE DISTINTA',3,'INDDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LTVRGG','01',9,'TIPO CODICE (SPAZIO/C)',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVRGG','01',10,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LTVRGG','01',11,'ANNATA COMPONENTE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LTVRGG','01',12,'LOTTO COMPONENTE',3,'LOTCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LTVRGG','01',13,'QUANTITA'' COMPONENTE',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('LTVRGG','01',14,'COSTO MEDIO UNITARIO',2,'PREMED',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVRGG','01',15,'COSTO MEDIO TOTALE',2,'VALMED',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('LTVRGG','01',16,'TIPO PREZZO V=DA VENDITE',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LTVRGG','01',17,'CODICE ERRORE VALORIZZAZIONE',2,'CODERR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LTVRGG','01',18,'CODICE SPIEGAZIONE VALORIZZAZIONE',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LUADEA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUADEA','01',2,'CODICE CONFERENTE',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUADEA','01',3,'CODICE VENDEMMIA',2,'CODVEN',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LUADEA','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LUAGAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUAGAN','01',2,'CODICE CONFERENTE',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUAGAN','01',3,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LUAGAN','01',4,'ACCREDITO IN CONTO S/N',2,'FLGACC',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUAGAN','01',5,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUAGAN','01',6,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUAGAN','01',7,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUAGAN','01',8,'BANCA INTERNA PREVALENTE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LUAGAN','01',9,'NUMERO DI CONTO CORRENTE',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LUAGAN','01',10,'CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUAGAN','01',11,'CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LUDIFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUDIFC','01',2,'CODICE CONFERENTE',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDIFC','01',3,'CODICE VENDEMMIA',2,'CODVEN',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LUDIFC','01',4,'NUMERO RIGA',2,'NUMRIG',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LUDIFC','01',5,'UVA',2,'CODUVA',4,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUDIFC','01',6,'DESCRIZIONE UVA',2,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFC','01',7,'ZONA',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUDIFC','01',8,'LOCALITA''',2,'CODLOC',5,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUDIFC','01',9,'DESCRIZIONE LOCALITA''',2,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFC','01',10,'VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LUDIFC','01',11,'COMUNE',2,'CODCOM',6,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDIFC','01',12,'DESCRIZIONE COMUNE',2,'DESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFC','01',13,'FOGLIO',2,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUDIFC','01',14,'PARTICELLE',2,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',6,'',0,0,'' )
,('LUDIFC','01',15,'POSSESSO',2,'CODPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LUDIFC','01',16,'NOME PROPRIETARIO',2,'NOMEPR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LUDIFC','01',17,'VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LUDIFC','01',18,'ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('LUDIFC','01',19,'NUMERO DEFINIBILE',2,'NUMDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',10,'',0,0,'' )
,('LUDIFC','01',20,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LUDIFC','01',21,'SUPERFICE CATASTALE',2,'SUPCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LUDIFC','01',22,'QUANTITA'' CERTIFICATA DOC',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LUDIFC','01',23,'FLAG PRODUZIONE',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDIFC','01',24,'SEZIONE CENSUARIA',2,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDIFC','01',25,'SUB PARTICELLA',2,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUDIFC','01',26,'FLAG RIGA OK',2,'FLGROK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDIFC','01',27,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LUDIFP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUDIFP','01',2,'CODICE CONFERENTE',2,'CODSOC',1,1,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDIFP','01',3,'CODICE VENDEMMIA',2,'CODVEN',2,3,1,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LUDIFP','01',4,'CODICE VITIGNO',2,'CODVIT',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('LUDIFP','01',5,'CODICE VITIGNO',2,'DESVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFP','01',6,'RIFERIMENTI CATASTALI',2,'RIFCAT',4,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUDIFP','01',7,'CODICE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDIFP','01',8,'SEZIONER',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDIFP','01',9,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUDIFP','01',10,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LUDIFP','01',11,'SUB-PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUDIFP','01',12,'ANNO IMPIANTO',2,'ANNIMP',5,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUDIFP','01',13,'PROGRESSIVO PER UNIVOCITA'' CHIAVE',2,'PROGRE',6,4,4,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LUDIFP','01',14,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LUDIFP','01',15,'FLAG RIGA OK',2,'FLGROK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDIFP','01',16,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LUDIFP','01',17,'STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LUDIFU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUDIFU','01',2,'CODICE CONFERENTE',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDIFU','01',3,'CODICE VENDEMMIA',2,'CODVEN',3,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LUDIFU','01',4,'UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUDIFU','01',5,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LUDIFU','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LUDIFU','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFU','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUDIFU','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFU','01',10,'DESCRIZIONE UVA',2,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDIFU','01',11,'FLAG CONFERIMENTO',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDITF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUDITF','01',2,'CODICE CONFERENTE',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDITF','01',3,'CODICE VENDEMMIA',2,'CODVEN',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LUDITF','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LUDITF','01',5,'FLAG TIPO FATTURAZIONE',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDITF','01',6,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LUDITF','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDITF','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUDITF','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUDITF','01',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LUDITF','01',11,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LUDITF','01',12,'CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUDITF','01',13,'CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LUDITF','01',14,'CODICE ISTAT COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUDITF','01',15,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUDITF','01',16,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUDITF','01',17,'CODICE CONTO CORRENTE',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LUEXB2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB2','01',3,'CHIAVE DI LUEXB3',3,'KUEXB3',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB2','01',4,'CODICE SOCIO',4,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUEXB2','01',5,'CODICE UVA',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUEXB2','01',6,'NUMERO MATRICOLA',4,'NRMATR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LUEXB2','01',7,'TIPO ISCRIZIONE (1-3)',3,'TIPISC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUEXB2','01',8,'SIGLA VIGNETO',3,'LETVIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LUEXB2','01',9,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('LUEXB2','01',10,'CODICE PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LUEXB3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB3','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUEXB3','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUEXB3','01',5,'NUMERO MATRICOLA',3,'NRMATR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LUEXB3','01',6,'SUPERFICIE ISCRITTA (DA AAUTD1)',2,'SUPISC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('LUEXB3','01',7,'SUPERFICIE VITATA TOTALE (DA ACATA1)',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('LUEXB4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB4','01',2,'CHIAVE AUTORIZZAZIONE',2,'CHIAVE',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXB4','01',3,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUEXB4','01',4,'CODICE DOC/IGT AIMA',3,'CODDIA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LUEXB4','01',5,'CODICE TIPOLOGIA AIMA',3,'CODTVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('LUEXB4','01',6,'ANNO RIFERIMENTO',3,'NRMATR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LUEXB4','01',7,'TIPO ISCRIZIONE',3,'TIPISC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUEXB4','01',8,'NUMERO RIGA PROGRESSIVO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LUEXB4','01',9,'NOME VIGNETO',2,'LETVIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LUEXPF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXPF','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXPF','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('LUEXPF','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUEXPF','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUEXPF','01',6,'CODICE ZONA',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LUEXPF','01',7,'NUMERO VOCE ANALISI',3,'INDVOC',0,1,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('LUEXPF','01',8,'VALORE MEDIO VOCE ANALISI',2,'VALMED',0,2,0,0,0,0,0,0,0,0,'',1,1,10,20,5,0,'S9(13)V9(5) COMP-3','',0,'',0,0,'' )
,('LUEXPF','01',9,'VOTO NUMERICO ASSEGNATO GIA PESATO',2,'VOTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('LUEXVF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXVF','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUEXVF','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('LUEXVF','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUEXVF','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUEXVF','01',6,'CODICE ZONA',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LUEXVF','01',7,'VOTO TOTALE CALCOLATO SUL FONDO',2,'VOTNUM',0,1,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('LUEXVF','01',8,'VALORE FINALE ASSEGNATO AL FONDO',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('LUMTAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUMTAP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUMTAP','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUMTAP','01',4,'CODICE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUMTAP','01',5,'CODICE ZONA CONFERIMENTO',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUMTAP','01',6,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUMTAP','01',7,'NUMERO RIGA CATASTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LUMTAP','01',8,'PROGRESSIVO (PER PIU'' PARTICELLE)',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LUMTAP','01',9,'FOGLIO',2,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUMTAP','01',10,'PARTICELLA',2,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LUMTAP','01',11,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LUMTAP','01',12,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LURUB1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LURUB1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,4,0,5,2,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LURUB1','01',3,'NUMERO INTERNO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LURUB1','01',4,'SECONDA CHIAVE',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LURUB1','01',5,'TIPO CODICE',3,'TIPCOD',0,0,1,1,1,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LURUB1','01',9,'CODICE CLIENTE/FORNITORE',3,'CODICE',0,0,3,3,4,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LURUB1','01',10,'RAGIONE SOCIALE CLIENTE/FORNITORE',3,'RAGSOC',0,0,0,2,3,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LURUB1','01',11,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LURUB1','01',12,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LURUB1','01',13,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LURUB1','01',14,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LURUB1','01',15,'TIPO CLIENTE',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LURUB1','01',16,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LURUB1','01',17,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LURUB1','01',18,'INTERLOCUTORE',2,'INTERL',0,0,2,0,2,1,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LURUB1','01',19,'NUMERO DI TELEFONO ITALIA 1',2,'TELIT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LURUB1','01',20,'NUMERO DI TELEFONO ITALIA 2',2,'TELIT2',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LURUB1','01',21,'NUMERO DI TELEFONO CELLULARE',2,'TELCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LURUB1','01',22,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LURUB1','01',23,'NUMERO DI TELEFONO ESTERO',2,'TELEST',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LURUB1','01',24,'INDIRIZZO INTERNET',2,'INDINT',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('LURUB1','01',25,'INDIRIZZO E-MAIL',2,'INDEMA',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('LURUB1','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('LURUB2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LURUB2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LURUB2','01',3,'TIPO CODICE',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LURUB2','01',12,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LURUB2','01',13,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LURUB2','01',14,'TIPO CODICE PER CONTATTI',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUSE32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUSE32','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUSE32','01',3,'CODCIE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUSE32','01',4,'SEZIONE',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LUSE32','01',5,'CODICE CATASTALE COMUNE',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUSE32','01',6,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LUSE32','01',7,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LUSE32','01',8,'SUB PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LUSE32','01',9,'NUMERO VIGNETO UNAR',3,'NRVIGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LUSE32','01',10,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LUSE32','01',11,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LUVALI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUVALI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LUVALI','01',3,'CODICE NAZIONE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LUVALI','01',4,'DESCRIZIONE NAZIONE',2,'DESNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LUVALI','01',5,'CODICE LINGUA',2,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV0103','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0103','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0103','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0103','01',4,'IMPORTO PRIMO SALDO',2,'IMPSA1',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LV0103','01',5,'IMPORTO SECONDO SALDO',2,'IMPSA2',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('LV0203','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0203','01',2,'CHIAVE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0203','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0203','01',4,'TIPO PAGAMENTO',2,'TIPPAG',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV0203','01',8,'CODICE BANCA',2,'CODBAN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV0203','01',9,'IMPORTO FATTURA',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LV0203','01',10,'IMPORTO ASSEGNO',2,'IMPASS',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LV0204','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0204','01',2,'CHIAVE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0204','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0204','01',4,'TIPO PAGAMENTO',2,'TIPPAG',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV0204','01',8,'CODICE BANCA',2,'CODBAN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV0204','01',9,'IMPORTO ASSEGNO',2,'IMPASS',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LV0217','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0217','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0217','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0217','01',4,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV0217','01',5,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV0217','01',6,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV0217','01',7,'CODICE CONTO CORRENTE',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LV0217','01',8,'INTESTATARIO ASSEGNI BONIFICI',2,'INTBON',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LV0217','01',9,'BANCA INTERNA',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LV0218','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0218','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0218','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0218','01',4,'NUMERO PROGRESSIVO B1',3,'PROGB1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV0218','01',5,'NUMERO B1',2,'NUMEB1',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LV0218','01',6,'SUPERFICIE B1',2,'SUPEB1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LV0218','01',7,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LV0218','01',8,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LV021A','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV021A','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV021A','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV021A','01',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV021A','01',5,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV021A','01',6,'CODICE UVA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV021A','01',7,'DATA AUTORIZZAZIONE',2,'DTAAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV021A','01',8,'NUMERO MATRICOLA',2,'NRMATR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LV021A','01',9,'COMUNE AUTORIZZAZIONI',2,'COMAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV021A','01',10,'SUPERFICIE AUTORIZZATA DA DETTAGLIO',2,'SUPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LV0222','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0222','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0222','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0222','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0222','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0222','01',6,'LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV0222','01',7,'VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LV0222','01',8,'COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0222','01',9,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LV0222','01',10,'PARTICELLA',3,'PARUNA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LV0222','01',11,'NUMERO VIGNETO',3,'NRVIGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV0222','01',12,'POSSESSO',3,'CODPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LV0222','01',13,'NOME PROPRIETARIO',3,'NOMEPR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV0222','01',14,'SUB-PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0222','01',15,'UVA BASE',3,'UVBASE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0222','01',16,'UVA AUTORIZZAZIONE',3,'UVAAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0223','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0223','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0223','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0223','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LV0223','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0223','01',6,'LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV0223','01',7,'VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LV0223','01',8,'COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV0223','01',9,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LV0223','01',10,'PARTICELLA',3,'PARUNA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LV0223','01',11,'NUMERO VIGNETO',3,'NRVIGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV0223','01',12,'POSSESSO',3,'CODPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LV0223','01',13,'NOME PROPRIETARIO',3,'NOMEPR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV0223','01',14,'SUB-PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0223','01',15,'UVA BASE',3,'UVBASE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV0223','01',16,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV0223','01',17,'TIPO',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LV0223','01',18,'DATA AUTORIZZAZIONE',2,'DATAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV0223','01',19,'NUMERO',2,'NUMAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LV0223','01',20,'POS',2,'POSAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LV0223','01',21,'SUP.',2,'SUPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LV0908','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0908','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0908','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LV0908','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LV0908','01',5,'QUANTITA GIACENZA INIZIALE',2,'QTAGII',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',6,'QUANTITA GIACENZA 0',2,'QTAGI0',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',7,'QUANTITA GIACENZA 1',2,'QTAGI1',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',8,'QUANTITA GIACENZA 2',2,'QTAGI2',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',9,'QUANTITA GIACENZA 3',2,'QTAGI3',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',10,'QUANTITA GIACENZA 4',2,'QTAGI4',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',11,'QUANTITA GIACENZA 5',2,'QTAGI5',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',12,'QUANTITA GIACENZA 6',2,'QTAGI6',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',13,'QUANTITA GIACENZA 7',2,'QTAGI7',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',14,'QUANTITA GIACENZA 8',2,'QTAGI8',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',15,'QUANTITA GIACENZA 9',2,'QTAGI9',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0908','01',16,'QUANTITA GIACENZA FINALE',2,'QTAGIF',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('LV0928','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV0928','01',2,'CODICE ARTICOLO',2,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV0928','01',3,'VECCHIO COMPONENTE',2,'OLDCOM',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV0928','01',4,'NUOVO COMPONENTE',2,'NEWCOM',3,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV0928','01',5,'GRADO ARTICOLO FINITO',2,'GRAART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LV0928','01',6,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV0928','01',7,'DESCRIZIONE VECCHIO COMPONENTE',2,'DESOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV0928','01',8,'DESCRIZIONE NUOVO COMPONENTE',2,'DESNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV1103','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1103','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1103','01',3,'NOME FILE',3,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LV1103','01',4,'CODICE SOCI',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV1103','01',5,'AREA RECORD',2,'AREARE',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LV1203','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1203','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1203','01',3,'CODICE ARTICOLOCLIENTE',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV1203','01',4,'SOMMA VALORE MOVIMENTI',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,18,20,5,0,'S9(13)V9(5)','',0,'',0,0,'' )
,('LV1203','01',5,'SOMMA QTA MOVIMENTI',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LV1207','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1207','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1207','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LV1207','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LV1207','01',5,'QTA VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LV1207','01',6,'IMPORTO LORDO',2,'IMPLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LV1207','01',7,'IMPORTO NETTO',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LV1207','01',8,'IMPORTO PROVVIGIONI',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('LV1207','01',9,'IMPORTO COSTO',2,'IMPACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,10,20,5,0,'S9(13)V9(5) COMP-3','',0,'',0,0,'' )
,('LV1207','01',10,'CODICE VALUTA ALFANUMERICO',2,'XXXVAL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV1207','01',11,'CODICE VALUTA',3,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV2304','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV2304','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV2304','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV2304','01',4,'NUMERO AZIONI',2,'NUMAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,0,'S9(6)','',0,'',0,0,'' )
,('LV2801','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV2801','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV2801','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV2801','01',4,'DESCRIZIONE UVA',2,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV2801','01',5,'COEFFICENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LV3231','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3231','01',2,'RIFERIMENTI CATASTALI PARTICELLA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3231','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV3231','01',4,'CODICE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV3231','01',5,'SEZIONE',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV3231','01',6,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LV3231','01',7,'PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV3231','01',8,'ANNO IMPIANTO',3,'ANNIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV3231','01',9,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('LV3231','01',10,'SUPERFICIE VITATA',3,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LV3231','01',11,'UNITA'' VITATA',3,'NRVIGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV3231','01',12,'CUAA SOCIO',2,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LV3801','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3801','01',2,'CODICE GRUPPO',2,'CODGRU',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV3801','01',3,'NUMERO BOLLE',2,'NRBOLL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV3801','01',4,'QLI CONFERITI',2,'QLICON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LV3801','01',5,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('LV3801','01',6,'QUINTALI DOC',2,'QLIDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LV3801','01',7,'MONTEGRADI DOC',2,'MONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('LV3801','01',8,'QUINTALI TAVOLA',2,'QLITAV',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LV3801','01',9,'MONTEGRADI TAVOLA',2,'MONTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,4,0,'9(8)V9(4)','',0,'',0,0,'' )
,('LV3805','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3805','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3805','01',3,'VECCHIO CODICE CLIENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LV3808','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3808','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3808','01',3,'VECCHIO CODICE CLIENTE',3,'CODOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LV3808','01',4,'NUOVO CODICE CLIENTE',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV3810','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LV3810','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV3810','01',3,'VECCHIO CODICE FORNITORE',3,'CODOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LV3810','01',4,'NUOVO CODICE FORNITORE',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5003','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5003','01',2,'NUMERO RIGA ORDINE',2,'PARIVA',1,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('LV5003','01',3,'COGNOME SOCIO',2,'COGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LV5003','01',4,'NOME SOCIO',2,'NOMSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LV5003','01',5,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LV5003','01',6,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV5003','01',7,'DATA DI NASCITA',2,'DTANAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV5003','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5003','01',9,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LV5003','01',10,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV5003','01',11,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV5003','01',12,'COMUNE NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5003','01',13,'PROVINCIA NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LV5003','01',14,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LV5003','01',15,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5003','01',16,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LV5003','01',17,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LV5003','01',18,'CODICE CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LV5003','01',19,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LV5201','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5201','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5201','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5201','01',4,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV5201','01',5,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV5201','01',6,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV5201','01',7,'CODICE CONTO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LV5201','01',8,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV5201','01',9,'CODICE CIN EUR',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV5202','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5202','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5202','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5202','01',4,'NUMERO RIGA',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LV5202','01',5,'CODICE UVA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV5202','01',6,'VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LV5202','01',7,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5202','01',8,'ANNO IMPIANTO',2,'ANNIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV5202','01',9,'VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV5216','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5216','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV5216','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5216','01',4,'DATA CONFERIMENTO',3,'DTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV5216','01',5,'ORA ENTRATA',3,'ORAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV5216','01',6,'NUMERO CONFERIMENTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV6101','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6101','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6101','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV6101','01',4,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV6101','01',5,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV6101','01',6,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV6101','01',7,'CODICE CONTO CORRENTE',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LV6101','01',8,'CODICE MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LV6102','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6102','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6102','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV6102','01',4,'NUMERO PROGRESSIVO B1',3,'PROGB1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV6102','01',5,'NUMERO B1',2,'NUMEB1',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LV6102','01',6,'SUPERFICIE B1',2,'SUPEB1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('LV6102','01',7,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LV6102','01',8,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LV6302','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6302','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6302','01',3,'CODICE UVA VECCHIO',3,'CODOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LV6302','01',4,'DESCRIZIONE UVA VECCHIO CODICE',2,'DESOLD',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV6302','01',5,'CODICE UVA NUOVO',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV6302','01',6,'FLAG MECCANICA S/N',2,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV6308','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6308','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6308','01',3,'NUMERO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LV6308','01',4,'DATA LOG',3,'DATLOG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV6308','01',5,'ORA LOG',3,'ORALOG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV6308','01',6,'FLAG Delete/Write (PRIMA D POI W)',3,'FLAGWD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV6308','01',7,'NUMERO RIGA BOLLETTA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV6308','01',8,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV6308','01',9,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV6308','01',10,'QUANTITA'' BOLLA',2,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LV6308','01',11,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LV6308','01',12,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LV6308','01',13,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('LV6308','01',14,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LV6308','01',15,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LV6308','01',16,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LV6308','01',17,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LV6308','01',18,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LV6308','01',19,'S PER LE RIGHE DI WRITE ACCOPPIATE',2,'FLEGGA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV6902','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6902','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV6902','01',3,'CODICE UVA VECCHIO',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LV6902','01',4,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV6902','01',5,'DESCRIZIONE VITIGNO',2,'DESVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV7401','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7401','01',2,'CODICE UVA',2,'CODUVA',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV7401','01',3,'DESCRIZIONE UVA',2,'DESUVA',2,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV7602','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7602','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7602','01',3,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('LV7602','01',4,'CODICE COMUNE ISTAT',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV7902','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LV7902','01',2,'AREA RECORD',2,'RECIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LV7904','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7904','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7904','01',3,'CODICE COMUNE IN FILE TXT',3,'COMTXT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7904','01',4,'CODICE COMUNE ISTAT',2,'CISTAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV7907','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7907','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7907','01',3,'TIPO ANOMALIA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV7907','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LV7907','01',5,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV7907','01',6,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('LV7907','01',7,'VALORE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LV7909','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7909','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7909','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV7909','01',4,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV7909','01',5,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV7909','01',6,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7909','01',7,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV7909','01',8,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7909','01',9,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7909','01',10,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV7909','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV7909','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7909','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV7909','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7909','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7909','01',16,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LV7909','01',17,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LV7909','01',18,'DESCRIZIONE OPERAZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV7910','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7910','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7910','01',3,'CODICE FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LV7910','01',4,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV7910','01',5,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV7910','01',6,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7910','01',7,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV7910','01',8,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7910','01',9,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7910','01',10,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV7910','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LV7910','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV7910','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LV7910','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7910','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LV7910','01',16,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LV7910','01',17,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LV7910','01',18,'DESCRIZIONE OPERAZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LV8103','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV8103','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV8103','01',3,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LV8103','01',4,'AREA RECORD',2,'AREARE',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(1024)','',0,'',0,0,'' )
,('LV8903','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV8903','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV8903','01',3,'TIPO_DOI',3,'TIPDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV8903','01',4,'VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('LV8903','01',5,'PRIORITA''',2,'PRIORI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LV8903','01',6,'VITIGNO 1',2,'CODVI1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV8903','01',7,'VITIGNO 2',2,'CODVI2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV8903','01',8,'CODICE UVA AV2000',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LV89B3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV89B3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV89B3','01',3,'CODICE NAZIONALE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV89B3','01',4,'CODICE ISTAT COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LV89B3','01',5,'SEZIONE CENSUARIA',2,'SEZCEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LV9702','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9702','01',2,'AREA RECORD',2,'RECIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LV9703','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9703','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9703','01',3,'TIPO_DOI',3,'TIPDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV9703','01',4,'VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LV9703','01',5,'CODICE UVA AV2000',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV9703','01',6,'PRIORITA''',2,'PRIORI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LV9704','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9704','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9704','01',3,'TIPO UVA',3,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LV9704','01',4,'DESCR. ISCRIZIONE',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LV9FCI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9FCI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9FCI','01',3,'ID CAMPIONE RICEVUTO',3,'IDFOSS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LV9FOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9FOS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9FOS','01',3,'ID CAMPIONE RICEVUTO',3,'IDFOSS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LV9THC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9THC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9THC','01',3,'COMPLEMENTO A 100 DEL GRADO',3,'COMPGR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('LV9THC','01',4,'NUMERO CONFERIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LV9THC','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LV9THC','01',6,'TOTALE CONFERIMENTO',3,'QLICON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('LV9THC','01',7,'GRADO CONFERIMENTO',3,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LVAB02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB02','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB02','01',3,'CODICE GRUPPO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB02','01',4,'DESCRIZIONE GRUPPO',2,'DESGRU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB02','01',5,'PREZZO A ETTOGRADO',2,'PREETT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LVAB02','01',6,'GRADO MEDIO GRUPPO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LVAB02','01',7,'PREZZO A LITRO',2,'PRELIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('LVAB03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB03','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB03','01',3,'CODICE GRUPPO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LVAB03','01',4,'DESCRIZIONE GRUPPO',2,'DESGRU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB03','01',5,'PERCENTUALE VARIAZIONE QUANTITA''',2,'PERQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LVAB03','01',6,'PERCENTUALE VARIAZIONE VALORE',2,'PERVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LVAB07','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB07','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB07','01',3,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVAB07','01',4,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LVAB08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB08','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB08','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB08','01',4,'DESCRIZIONE COMMERCIALIZZAZIONE',2,'DESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB08','01',5,'CODICE GRUPPO BUDGET',2,'CODBUD',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB10','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB10','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB10','01',3,'CODICE GRUPPO',3,'CODGRU',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB10','01',4,'TIPO RECORD',3,'TIPREC',0,2,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LVAB10','01',7,'ANNATA',3,'ANNATA',0,5,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB10','01',8,'CODICE ARTICOLO (spazio se produzione)',3,'CODART',0,4,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVAB10','01',9,'CODICE CLIENTE',3,'CODCLI',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LVAB10','01',12,'QUANTITA'' GIACENZA ALLA DATA LIMITE',2,'QTA001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',13,'VALORE GIACENZA ALLA DATA LIMITE',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',16,'QUANTITA'' PRODUZIONE',2,'QTA011',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',17,'VALORE PRODUZIONE',2,'VAL011',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',20,'QUANTITA'' ACQUISTI',2,'QTA002',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',21,'VALORE ACQUISTI',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',24,'QUANTITA'' CONTRATTI DI GREZZO',2,'QTA003',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',25,'VALORE CONTRATTI DI GREZZO',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',28,'QUANTITA'' STATISTICHE',2,'QTA004',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',29,'VALORE ANNO PRECEDENTE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',32,'NON USATO',2,'QTA005',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',33,'VARIAZIONE VALORE VENDITE',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',36,'QUANTITA'' SCOSTAMENTO',2,'QTA006',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB10','01',37,'VALORE SCOSTAMENTO',2,'VAL006',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB11','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB11','01',3,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LVAB11','01',4,'DESCRIZIONE ATTRIBUTO',2,'DESATT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB11','01',5,'PERCENTUALE VARIAZIONE QUANTITA''',2,'PERQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LVAB11','01',6,'PERCENTUALE VARIAZIONE VALORE',2,'PERVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LVAB12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB12','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB12','01',3,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB12','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVAB12','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB12','01',6,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LVAB12','01',7,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVAB12','01',8,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB12','01',9,'RAGIONE SOCIALE CLIENTE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LVAB12','01',10,'QUANTITA'' STATISTICHE',2,'QTALIT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB12','01',11,'VALORE ANNO PRECEDENTE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB12','01',12,'ATTRIBUTO ARTICOLO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('LVAB18','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB18','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB18','01',3,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB18','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB18','01',5,'TIPO CONTRATTO C=CLIENTI F=FORNITORI',3,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LVAB18','01',6,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVAB18','01',7,'DESCRIZIONE ARTICOLO',3,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB18','01',8,'NUMERO INTERNO CONTRATTO ACQ/VEN',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LVAB18','01',9,'CODICE SOGGETTO CLIENTE/FORNITORE',3,'SOGGET',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LVAB18','01',10,'RAGIONE SOCIALE CLIENTE/FORNITORE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LVAB18','01',11,'NUMERO RIGA',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB18','01',12,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVAB18','01',13,'QUANTITA'' CONTRATTI ACQ/VEN',2,'QTA001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB18','01',14,'VALORE CONTRATTI ACQ/VEN',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB18','01',15,'PREZZO',2,'PRE001',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,5,0,'9(5)V9(5) COMP-3','',0,'',0,0,'' )
,('LVAB1A','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB1A','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB1A','01',3,'CODICE GRUPPO',3,'CODGRU',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB1A','01',4,'CODICE ARTICOLO',3,'CODART',0,4,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVAB1A','01',5,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB1A','01',6,'VALORE VENDUTO',2,'VALVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB22','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB22','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB22','01',3,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LVAB22','01',4,'DESCRIZIONE ATTRIBUTO',2,'DESATT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB22','01',5,'PERCENTUALE VARIAZIONE QUANTITA''',2,'PERQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LVAB22','01',6,'PERCENTUALE VARIAZIONE VALORE',2,'PERVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('LVAB25','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB25','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB25','01',3,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB25','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LVAB25','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB30','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB30','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB30','01',3,'CODICE GRUPPO',3,'CODGRU',0,1,1,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB30','01',4,'ANNATA',3,'ANNATA',0,5,2,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB30','01',5,'CODICE ARTICOLO (spazio se produzione)',3,'CODART',0,4,5,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVAB30','01',6,'CODICE CLIENTE',3,'CODCLI',0,3,4,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LVAB30','01',9,'TIPO RECORD',3,'TIPREC',0,2,3,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LVAB30','01',12,'QUANTITA'' GIACENZA ALLA DATA LIMITE',2,'QTA001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',13,'VALORE GIACENZA ALLA DATA LIMITE',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',16,'QUANTITA'' PRODUZIONE',2,'QTA011',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',17,'VALORE PRODUZIONE',2,'VAL011',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',20,'QUANTITA'' ACQUISTI',2,'QTA002',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',21,'VALORE ACQUISTI',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',24,'QUANTITA'' CONTRATTI DI GREZZO',2,'QTA003',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',25,'VALORE CONTRATTI DI GREZZO',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',28,'QUANTITA'' STATISTICHE',2,'QTA004',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',29,'VALORE ANNO PRECEDENTE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LVAB30','01',32,'NON USATO',2,'QTA005',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',33,'VARIAZIONE VALORE VENDITE',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',36,'QUANTITA'' SCOSTAMENTO',2,'QTA006',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB30','01',37,'VALORE SCOSTAMENTO',2,'VAL006',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB31','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB31','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB31','01',3,'PROGRESSIVO RECORD',3,'INDICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB31','01',4,'ID FAMIGLIA',2,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('LVAB31','01',5,'CODICE FAMIGLIA',2,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LVAB31','01',6,'DESCRIZIONE FAMIGLIA',2,'DESFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LVAB31','01',7,'CODICE BUDGET',2,'CODBUD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB31','01',8,'DESCRIZIONE BUDGET',2,'DESBUD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAB3A','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB3A','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB3A','01',3,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB3A','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB3A','01',5,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVAB3A','01',6,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB3A','01',7,'VALORE VENDUTO',2,'VALVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB40','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB40','01',3,'CODICE GRUPPO',3,'CODGRU',0,1,1,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB40','01',4,'ANNATA',3,'ANNATA',0,3,2,3,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB40','01',7,'TIPO RECORD',3,'TIPREC',0,2,3,4,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LVAB40','01',10,'CODICE FAMIGLIA',2,'CODFAM',0,0,0,1,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LVAB40','01',11,'QUANTITA'' GIACENZA ALLA DATA LIMITE',2,'QTA001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',12,'VALORE GIACENZA ALLA DATA LIMITE',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',15,'QUANTITA'' PRODUZIONE',2,'QTA011',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',16,'VALORE PRODUZIONE',2,'VAL011',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',19,'QUANTITA'' ACQUISTI',2,'QTA002',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',20,'VALORE ACQUISTI',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',23,'QUANTITA'' CONTRATTI DI GREZZO',2,'QTA003',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',24,'VALORE CONTRATTI DI GREZZO',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',27,'QUANTITA'' STATISTICHE',2,'QTA004',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',28,'VALORE ANNO PRECEDENTE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',31,'NON USATO',2,'QTA005',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',32,'VARIAZIONE VALORE VENDITE',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',35,'QUANTITA'' SCOSTAMENTO',2,'QTA006',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB40','01',36,'VALORE SCOSTAMENTO',2,'VAL006',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB4A','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB4A','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAB4A','01',3,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB4A','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAB4A','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LVAB4A','01',6,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAB4A','01',7,'VALORE VENDUTO',2,'VALVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LVAGAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAGAC','01',2,'PROGRESSIVO',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LVAGAC','01',3,'NUMERO RIGA 0 = TESTATA BOLLA',2,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAGAC','01',4,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LVAGAC','01',5,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LVAGAC','01',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVAGAC','01',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVAGAC','01',8,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LVAGAC','01',9,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LVAGAC','01',10,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LVAGAC','01',11,'FATTURATA',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LVAGAC','01',12,'NUMERO REGISTRAZIONE CONTABILE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LVAGAC','01',14,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LVAGAC','01',15,'QUANTITA''',2,'QTARIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LVAGAC','01',16,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('LVAGAC','01',17,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LVALRO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVALRO','01',2,'NUMERO ORDINE',2,'NUMORD',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LVALRO','01',3,'NUMERO RIGA ORDINE',2,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LVALRO','01',4,'NUMERO COMPONENTE RIGA ORDINE',2,'NUMCOM',3,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LVALRO','01',5,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LVALRO','01',6,'IMPORTO FATTURATO',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LVASM2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASM2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASM2','01',3,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASM2','01',4,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVASM2','01',5,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVASM2','01',6,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVASM2','01',7,'CODICE VASCA (VUOTI SE LOTTO)',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASM2','01',8,'STABILIMENTO',4,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVASM2','01',9,'SETTORE',4,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVASM2','01',10,'NUMERO',4,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVASM2','01',11,'PRODOTTO AGGIUNTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASM2','01',12,'TIPO PRODOTTO',4,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LVASM2','01',13,'CODICE PRODOTTO AGGIUNTO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LVASM2','01',14,'LOTTO',4,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LVASM2','01',15,'QUANTITA'' AGGIUNTA (GESTITA 9(4)V9(2))',2,'QTAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,5,0,'9(9)V9(5) COMP-3','',0,'',0,0,'' )
,('LVASMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASMO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASMO','01',3,'FLAG 1=SCARICO/2=CARICO/3=LAV/4=AGG PROD',3,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LVASMO','01',4,'FLAG P=PARTITA/L=LOTTO',3,'FLAGPL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LVASMO','01',5,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASMO','01',6,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVASMO','01',7,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVASMO','01',8,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVASMO','01',9,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASMO','01',10,'ZERI',4,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LVASMO','01',11,'NUMERO INTERNO LOTTO',4,'CODLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LVASMO','01',12,'CHIAVE VASCA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASMO','01',13,'CODICE VASCA (VUOTI SE LOTTO)',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LVASMO','01',14,'STABILIMENTO',5,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVASMO','01',15,'SETTORE',5,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LVASMO','01',16,'NUMERO',5,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('LVASMO','01',17,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
go
