INSERT INTO dbo.ZFILE3_01 VALUES
('AVASAV','01',10,'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,'' )
,('AVASAV','01',11,'CAPACITA'' IN ETTOLITRI',2,'CAPHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AVASAV','01',12,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAV','01',13,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('AVASAV','01',14,'CODICE TIPO VASCA',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASAV','01',15,'ANNO COSTRUZIONE',2,'ANNOCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAV','01',16,'TIME STAMP ULTIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAV','01',17,'DATA ULTIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASAV','01',18,'ORA ULTIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASAV','01',19,'CODICE REGISTRO UNICO',2,'CODMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASAV','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVASAV','01',21,'DATA INIZIO OBSOLESCENZA',2,'DATOBS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASAV','01',22,'REDEFINES',2,'AMGOBS',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAV','01',23,'ANNO',3,'AAAOBS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASAV','01',24,'MESE',3,'MMMOBS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAV','01',25,'GIORNO',3,'GGGOBS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAV','01',26,'SEMPREPIENO (S)',2,'FLGSEP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASCN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASCN','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASCN','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASCN','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,'' )
,('AVASCN','01',5,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASCN','01',6,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASCN','01',7,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASCN','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASCO','01',2,'CHIAVE PER DATA/ARTICOLO',2,'KEY003',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASCO','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,'' )
,('AVASCO','01',4,'CODICI COLLEGATI',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',20,'',0,0,'' )
,('AVASCS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASCS','01',2,'CHIAVE PER DATA/ARTICOLO',2,'KEY003',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASCS','01',3,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASCS','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASCS','01',5,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASCS','01',6,'CODICI COLLEGATI',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',20,'',0,0,'' )
,('AVASDE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASDE','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,'' )
,('AVASDE','01',3,'CODICE COLONNA',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASDE','01',4,'DESCRIZIONE PER STAMPA ETICHETTE',2,'DESETI',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASDE','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,127,127,0,0,'X(127)','',0,'',0,0,'' )
,('AVASFO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASFO','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,'' )
,('AVASFO','01',3,'ID UNIVOCO STRUMENTO FOSS',3,'IDFOSS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASFO','01',4,'PROGRESSIVO CAMPIONE FOSS',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASFO','01',5,'PROGRESSIVO VOCE ANALISI',3,'VOCPRG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASFO','01',6,'DATA ANALISI',2,'DTAANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASFO','01',7,'ORA ANALISI',2,'ORAANA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASFO','01',8,'ID CAMPIONE',2,'ID-CAM',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASFO','01',9,'ID STRINGA',2,'ID-STR',0,0,0,0,0,0,0,0,0,0,'S',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASFO','01',10,'DESCRIZIONE VOCE',2,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASFO','01',11,'VALORE VOCE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,18,20,5,0,'S9(13)V9(5)','',0,'',0,0,'' )
,('AVASFO','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('AVASGA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASGA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASGA','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,'' )
,('AVASGA','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,'' )
,('AVASGA','01',5,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASGA','01',6,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASGA','01',7,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASGA','01',8,'CODICE VARIETA''',2,'CODVAR',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASGA','01',9,'GIACENZA VASCA',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AVASGA','01',10,'COMMERCIALIZZAZIONE FORZATA',2,'CODCOM',0,0,2,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASGA','01',11,'ANNATA COMMERCIALIZZAZIONE FORZATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASGA','01',12,'RAGGRUPPAMENTO FORZATO (VINIFICAZIONE)',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVASGA','01',13,'CODICE COLONNA (VINIFICAZIONE)',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASGA','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('AVASGC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASGC','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,'' )
,('AVASGC','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,'' )
,('AVASGC','01',4,'ANNATA COMMERCIALIZZAZIONE',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASGC','01',5,'GIACENZA COMMERCIALIZZAZIONE',2,'GIACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AVASGC','01',6,'GIACENZA VINIFICAZIONE',2,'GIAVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AVASGC','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVASGD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASGD','01',2,'CODICE REGISTRO COMMERCIALIZZAZIONE',2,'CODREG',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASGD','01',3,'DATA ULTIMA SITUAZIONE VASCHE INSERITA',2,'DTASIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASGD','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('AVASGN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASGN','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,'' )
,('AVASGN','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,'' )
,('AVASGN','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,'' )
,('AVASGN','01',5,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASGN','01',6,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASGN','01',7,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASGN','01',8,'CODICE VARIETA''',2,'CODVAR',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASGN','01',9,'GIACENZA VASCA',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AVASGN','01',10,'COMMERCIALIZZAZIONE FORZATA',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASGN','01',11,'ANNATA COMMERCIALIZZAZIONE FORZATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASGN','01',12,'RAGGRUPPAMENTO FORZATO (VINIFICAZIONE)',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVASGN','01',13,'CODICE COLONNA (VINIFICAZIONE)',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASGN','01',14,'CODICE MANIPOLAZIONE',2,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVASGN','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('AVASGN','01',16,'GRADO VASCA',2,'GRDVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVASGN','01',17,'FLAG CONTO LAVORO (S)',2,'FLAGCL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL1','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL1','01',3,'NUMERO PROPOSTA ACQUISTO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASL1','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL1','01',5,'CODICE PARTITE',4,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL1','01',6,'ANNO PARTITA',5,'ANNOPA',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
('AVASL1','01',7,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASL1','01',8,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASL2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL2','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL2','01',3,'NUMERO PROPOSTA ACQUISTO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASL2','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL2','01',5,'NUMERO PARTITA MATERIE PRIME',4,'NUMMAP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASL3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL3','01',2,'NUMERO LOTTO',2,'NUMLOT',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASL3','01',3,'NUMERO PARTITA MATERIE PRIME',2,'NUMMAP',2,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASL4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASL4','01',2,'NUMERO INTERNO LOTTO',2,'NUMLOT',1,2,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASL4','01',3,'NUMERO PARTITA MATERIE PRIME',2,'NUMMAP',2,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASL4','01',4,'QTA MATERIA PRIMA',2,'QTAMAP',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AVASL4','01',5,'LOTTO MATERIA PRIMA',2,'LOTMAP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASL4','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('AVASLL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASLL','01',2,'NUMERO INTERNO LOTTO',2,'NUMLOT',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASLL','01',3,'NUMERO LOTTO',2,'NUMERO',0,1,2,4,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASLL','01',4,'CODICE ARTICOLO',2,'CODART',0,2,3,1,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVASLL','01',5,'ANNATA ARTICOLO',2,'ANNATA',0,3,4,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASLL','01',6,'DATA PRODUZIONE',2,'DTAPRO',0,0,1,3,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASLL','01',7,'NUMERO PEZZI',2,'NPEZZI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AVASLL','01',8,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('AVASLL','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('AVASLO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASLO','01',2,'CHIAVE PER DATA/ARTICOLO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASLO','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,'' )
,('AVASLO','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,'' )
,('AVASLO','01',5,'CHIAVE PER ARTICOLO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASLO','01',6,'DATA PRODUZIONE',4,'DTAPRO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASLO','01',7,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASLO','01',8,'ANNO',5,'AA-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASLO','01',9,'MESE',5,'MM-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASLO','01',10,'GIORNO',5,'GG-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASLO','01',11,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASLO','01',12,'NUMERO LOTTO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASLO','01',13,'NUMERO PEZZI',2,'NPEZZI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AVASLO','01',14,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('AVASLO','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AVASM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASM1','01',2,'NUMERO MOVIMENTO',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASM1','01',3,'CODICE CLIENTE/FORNITORE(SCARICO/CARICO)',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASM1','01',4,'COD.MAG.PER SCARICO PRODOTTI ENOLOGICI',2,'MAGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASM1','01',5,'NR.MOV.MAG.GENERATO PER SCARICO PROD.ENO',2,'MVMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASM1','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,122,122,0,0,'X(122)','',0,'',0,0,'' )
,('AVASM2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASM2','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,'' )
,('AVASM2','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,4,4,4,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASM2','01',4,'CODICE PARTITA',3,'CODPAR',0,1,1,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASM2','01',5,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASM2','01',6,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASM2','01',7,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASM2','01',8,'CODICE VASCA (VUOTO SE LOTTO)',3,'CODVAS',0,2,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASM2','01',9,'STABILIMENTO',4,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASM2','01',10,'SETTORE',4,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASM2','01',11,'NUMERO VASCA',4,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASM2','01',12,'PRODOTTO AGGIUNTO',3,'PRODOT',0,3,2,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASM2','01',13,'TIPO PORODOTTO',4,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASM2','01',14,'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,'' )
,('AVASM2','01',15,'LOTTO',4,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVASM2','01',16,'QUANTITA'' AGGIUNTA',2,'QTAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AVASM2','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('AVASMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMA','01',2,'CHIAVE PER NUMERO CAMPIONE FOSS',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMA','01',3,'NUMERO CAMPIONE',3,'ID-CAM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASMA','01',4,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMA','01',5,'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,'' )
,('AVASMA','01',6,'FLAG 1=SCARICO/2=CARICO/3=LAVORAZIONE',3,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASMA','01',7,'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,'' )
,('AVASMA','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,'' )
,('AVASMA','01',9,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMA','01',10,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASMA','01',11,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASMA','01',12,'CODICE VASCA (VUOTO SE LOTTO)',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMA','01',13,'STABILIMENTO',4,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASMA','01',14,'SETTORE',4,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASMA','01',15,'NUMERO VASCA',4,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMA','01',16,'DATA E ORA MOVIMENTO',3,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMA','01',17,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASMA','01',18,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMA','01',19,'ANNO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMA','01',20,'MESE',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMA','01',21,'GIORNO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMA','01',22,'ORA MOVIMENTO',4,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASMA','01',23,'ACQUISITO (S/ )',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASMA','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AVASMN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMN','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,'' )
,('AVASMN','01',3,'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,'' )
,('AVASMN','01',4,'NUMERO RIGA NOTE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMN','01',5,'RIGA DI NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AVASMN','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','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,'' )
,('AVASMO','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,2,2,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASMO','01',4,'FLAG 1=SCARICO/2=CARICO/3=LAVORAZIONE',3,'FLAGCS',0,3,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASMO','01',6,'CHIAVE PARTITA/VASCA/DATA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',7,'FLAG P=PARTITA/L=LOTTO',4,'FLAGPL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASMO','01',8,'CODICE PARTITA',4,'CODPAR',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
('AVASMO','01',9,'ANNO PARTITA',5,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMO','01',10,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASMO','01',11,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASMO','01',12,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',13,'ZERI',5,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMO','01',14,'NUMERO INTERNO LOTTO',5,'CODLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASMO','01',15,'CHIAVE VASCA/DATA',4,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',16,'CODICE VASCA (VUOTO SE LOTTO)',5,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',17,'STABILIMENTO',6,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASMO','01',18,'SETTORE',6,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASMO','01',19,'NUMERO VASCA',6,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMO','01',20,'DATA ORA MOVIMENTO',5,'KEY004',0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',21,'DATA E ORA MOVIMENTO',6,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',22,'DATA MOVIMENTO',7,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASMO','01',23,'REDEFINES',7,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMO','01',24,'ANNO',8,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMO','01',25,'MESE',8,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMO','01',26,'GIORNO',8,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMO','01',27,'ORA MOVIMENTO',7,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASMO','01',28,'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,'' )
,('AVASMO','01',29,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASMO','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASMO','01',31,'TIPO LAVAGGIO',2,'TIPLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMP','01',2,'CHIAVE PER DATA/ARTICOLO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMP','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,'' )
,('AVASMP','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,'' )
,('AVASMP','01',5,'CHIAVE PER ARTICOLO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMP','01',6,'DATA ACQUISTO PARTITA',4,'DTAACQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASMP','01',7,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMP','01',8,'ANNO',5,'AA-ACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASMP','01',9,'MESE',5,'MM-ACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMP','01',10,'GIORNO',5,'GG-ACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASMP','01',11,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASMP','01',12,'NUMERO PARTITA',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASMP','01',13,'FORNITORE',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASMP','01',14,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('AVASMP','01',15,'QUANTITA'' ACQUISTATA',2,'QTAACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVASMP','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AVASN1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASN1','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASN1','01',3,'CODICE VOCE ANALISI',3,'CODANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASN1','01',4,'AGGIORNA GRADO IN ANAGRAFICA PARTITA S/N',2,'AGGGRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASN1','01',5,'NUMERO ATTRIBUTO DA AGGIORNARE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASN1','01',6,'AGGIORNA TUTTA LA PARTITA S/N',2,'AGGPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASN1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AVASN2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASN2','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASN2','01',3,'CODICE VOCE ANALISI',3,'CODANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASN2','01',4,'LIMITE FINALE',3,'LIMFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,6,0,'S9(10)V9(6)','',0,'',0,0,'' )
,('AVASN2','01',5,'LIMITE INIZIALE',3,'LIMINI',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,6,0,'S9(10)V9(6)','',0,'',0,0,'' )
,('AVASN2','01',6,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASN2','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('AVASNO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASNO','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,'' )
,('AVASNO','01',3,'CODICE PARTITA',3,'CODPAR',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASNO','01',4,'ANNO',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASNO','01',5,'TIPO',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASNO','01',6,'NUMERO',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASNO','01',7,'CODICE VASCA',3,'CODVAS',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASNO','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASNO','01',9,'STABILIMENTO',4,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASNO','01',10,'SETTORE',4,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASNO','01',11,'NUMERO',4,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASNO','01',12,'DATA/ORA ANNOTAZIONE',3,'TEMNOT',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASNO','01',13,'DATA ANNOTAZIONE',4,'DTANOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASNO','01',14,'ORA ANNOTAZIONE',4,'ORANOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASNO','01',15,'NUMERO RIGA',3,'NUMRIG',0,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASNO','01',16,'TESTO ANNOTAZIONE',2,'TXNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASO1','01',2,'NUMERO ORDINE CANTINA',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASO1','01',3,'CODICE CLIENTE/FORNITORE(SCARICO/CARICO)',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASO1','01',4,'RIFERIMENTO CONTRATTO NUMERO',2,'RIFCNR',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASO1','01',5,'RIFERIMENTO CONTRATTO RIGA',2,'RIFCRG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASO1','01',6,'CODCIE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASO1','01',7,'ANNATA COMMERCIALIZZAZIONE',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASO1','01',8,'DESCRIZIONE COM. (ALTERNATIVA A CODICE)',2,'DESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASO1','01',9,'GRADO DA STAMPARE',2,'GRASTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVASO1','01',10,'RIFERIMENTO QUALITA''',2,'RIFQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVASO1','01',11,'FORZA EVASIONE ( /S)',2,'FLGEVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASO1','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,63,63,0,0,'X(63)','',0,'',0,0,'' )
,('AVASON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASON','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,'' )
,('AVASON','01',3,'NUMERO ORDINE CANTINA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASON','01',4,'NUMERO RIGA NOTE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASON','01',5,'RIGA DI NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('AVASON','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('AVASOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','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,'' )
,('AVASOR','01',3,'NUMERO ORDINE CANTINA',3,'NUMERO',0,2,2,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASOR','01',4,'FLAG 1=SCARICO/2=CARICO/3=LAVORAZIONE',3,'FLAGCS',0,3,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASOR','01',5,'CHIAVE PARTITA/VASCA/DATA',3,'KEY002',0,1,0,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','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,'' )
,('AVASOR','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,'' )
,('AVASOR','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,'' )
,('AVASOR','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,'' )
,('AVASOR','01',10,'CHIAVE VASCA/DATA',4,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','01',11,'CODICE VASCA',5,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','01',12,'STABILIMENTO',6,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASOR','01',13,'SETTORE',6,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVASOR','01',14,'NUMERO VASCA',6,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASOR','01',15,'DATA ORA ORIDNE CANTINA',5,'KEY004',0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','01',16,'DATA E ORA ORDINE CANTINA',6,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','01',17,'DATA ORDINE CANTINA',7,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASOR','01',18,'REDEFINES',7,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASOR','01',19,'ANNO',8,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASOR','01',20,'MESE',8,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASOR','01',21,'GIORNO',8,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASOR','01',22,'ORA ORDINE CANTINA',7,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASOR','01',23,'QUANTITA'' ORDINE CANTINA',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,'' )
,('AVASOR','01',24,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASOR','01',25,'NUMERO CAMPIONE ANALISI FOSS',2,'ID-CAM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASOR','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('AVASP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP1','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP1','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASP1','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP1','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP1','01',6,'ANNO PARTITA',5,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASP1','01',7,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASP1','01',8,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASP1','01',9,'QUARTA PARTE NUMERICA',5,'NUMEP0',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASP1','01',10,'REDEFINES',5,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP1','01',11,'PARTE NUMERICA',6,'NUMEP1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASP1','01',12,'PARTE ALFANUMERICA',6,'NUMEP2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASP1','01',13,'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,'' )
,('AVASP1','01',14,'CODICE PRODOTTO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASP1','01',15,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASP1','01',16,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP1','01',17,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('AVASP1','01',18,'GRADO',2,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVASP1','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVASP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP2','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP2','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASP2','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP2','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP2','01',6,'ANNO PARTITA',5,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASP2','01',7,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASP2','01',8,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASP2','01',9,'QUARTA PARTE NUMERICA',5,'NUMEP0',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASP2','01',10,'REDEFINES',5,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP2','01',11,'PARTE NUMERICA',6,'NUMEP1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASP2','01',12,'PARTE ALFANUMERICA',6,'NUMEP2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASP2','01',13,'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,'' )
,('AVASP2','01',14,'CODICE PRODOTTO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASP2','01',15,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASP2','01',16,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASP2','01',17,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('AVASP2','01',18,'GRADO',2,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVASP2','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVASPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPA','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPA','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASPA','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPA','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPA','01',6,'ANNO PARTITA',5,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPA','01',7,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPA','01',8,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASPA','01',9,'QUARTA PARTE NUMERICA',5,'NUMEP0',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPA','01',10,'REDEFINES',5,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPA','01',11,'PARTE NUMERICA',6,'NUMEP1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASPA','01',12,'PARTE ALFANUMERICA',6,'NUMEP2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASPA','01',13,'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,'' )
,('AVASPA','01',14,'CODICE PRODOTTO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASPA','01',15,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPA','01',16,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPA','01',17,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('AVASPA','01',18,'GRADO',2,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVASPA','01',19,'CODCIE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASPA','01',20,'VARIETA'' CONFRONTO COMMERC/VINIFCAZ',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASPA','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('AVASPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPC','01',2,'CODICE VASCA',2,'CODVAS',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPC','01',3,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPC','01',4,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPC','01',5,'NUMERO',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPC','01',6,'CODICE PARTITA',2,'CODPAR',2,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPC','01',7,'ANNO PARTITA',3,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPC','01',8,'TIPO PARTITA',3,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPC','01',9,'NUMERO PARTITA',3,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASPC','01',10,'QUANTITA'' GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('AVASPR','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','00',3,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPR','00',4,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AVASPR','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('AVASPR','NI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','NI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','NI',3,'TIPO RECORD = "NI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPR','NI',4,'zeri',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVASPR','NI',5,'ULTIMO NUMERO INTERNO MOVIMENTO VASCHE',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASPR','NI',6,'ULTIMO NUMERO INTERNO ANALISI',2,'ULTANA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASPR','NI',7,'ULTIMO NUMERO INTERNO PROPOSTA ACQUISTO',2,'ULTPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASPR','NI',8,'ULTIMO NUMERO INTERNO ACQUISTO MAT.PRIME',2,'ULTACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASPR','NI',9,'ULTIMO NUMERO INTERNO LOTTO',2,'ULTLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASPR','NI',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('AVASPR','NP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','NP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','NP',3,'TIPO RECORD = "NP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVASPR','NP',4,'PRIMA PARTE CODICE PARTITA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','NP',5,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPR','NP',6,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPR','NP',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASPR','NP',8,'ULTIMO NUMERO PARTITA',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASPR','NP',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('AVASPR','OR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','OR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','OR',3,'TIPO RECORD = "OR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPR','OR',4,'zeri',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVASPR','OR',5,'ULTIMO NUMERO ORDINE CANTINA',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASPR','OR',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('AVASPR','UC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','UC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPR','UC',3,'TIPO RECORD = "UC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPR','UC',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVASPR','UC',5,'DATA ULTIMA CHIUSURA MOVIMENTI',2,'DTACHI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASPR','UC',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('AVASPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPV','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPV','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,'' )
,('AVASPV','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,'' )
,('AVASPV','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,'' )
,('AVASPV','01',6,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASPV','01',7,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPV','01',8,'CODICE STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPV','01',9,'CODICE SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASPV','01',10,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASPV','01',11,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASPV','01',12,'CODICE ATTRIBUTO-NON PIU USATO-> AVASAP',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('AVASPV','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AVASRC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASRC','01',2,'CODICE RAGGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASRC','01',3,'CODICE COMM. ZERO PER DEFINIZIONE RAGGR.',2,'CODCOM',2,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASRC','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,'' )
,('AVASRC','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,'' )
,('AVASRC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('AVASRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASRU','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,'' )
,('AVASRU','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,'' )
,('AVASRU','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,'' )
,('AVASRU','01',5,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASRU','01',6,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASRU','01',7,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASRU','01',8,'CODICE VARIETA''',2,'CODVAR',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASRU','01',9,'GIACENZA VASCA',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AVASRU','01',10,'FAMIGLIA FORZATA',2,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AVASRU','01',11,'ANNATA FORZATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASRU','01',12,'TIPO COMMITTENTE FORZATO',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASRU','01',13,'CODICE COMMITTENTE FORZATO',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASTA','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','00',3,'TIPO RECORD',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','00',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AVASTA','00',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','00',6,'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,'' )
,('AVASTA','00',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVASTA','AP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','AP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','AP',3,'TIPO RECORD = "AP"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','AP',4,'CODICI IN CHIAVE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','AP',5,'NUMERO ATTRIBUTO (1-20)',4,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASTA','AP',6,'CODICE ATTRIBUTO (ZERO PER RECORD ATTR.)',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASTA','AP',7,'ZERI',4,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AVASTA','AP',8,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','AP',9,'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,'' )
,('AVASTA','AP',10,'OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','AP',11,'INTESTAZIONE STAMPE ALLINEATA DX NUM ATT',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVASTA','AP',12,'INTESTAZIONE STAMPE ALLINEATA DX COD ATT',2,'DESCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVASTA','AP',13,'RICERCA PER STRINGA IN HELP S/N',2,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','AP',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AVASTA','AV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','AV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','AV',3,'TIPO RECORD = "AV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','AV',4,'CODICI IN CHIAVE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','AV',5,'NUMERO ATTRIBUTO (1-10)',4,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASTA','AV',6,'CODICE ATTRIBUTO (ZERO PER RECORD ATTR.)',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASTA','AV',7,'ZERI',4,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AVASTA','AV',8,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','AV',9,'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,'' )
,('AVASTA','AV',10,'OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','AV',11,'INTESTAZIONE STAMPE ALLINEATA A DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVASTA','AV',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AVASTA','C1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','C1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','C1',3,'TIPO RECORD = "C1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','C1',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASTA','C1',5,'NUMERO RIGA NOTE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASTA','C1',6,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASTA','C1',7,'RIGA DI NOTE',2,'DESNOT',0,2,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('AVASTA','C1',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','CA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','CA',3,'TIPO RECORD = "CA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','CA',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASTA','CA',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASTA','CA',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','CA',7,'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,'' )
,('AVASTA','CA',8,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',14,'FLAG ACQUISIZIONE ANNOTAZIONI VASCHE S/N',2,'FLNOTE',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
('AVASTA','CA',15,'OBSOLETA (S/ )',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',16,'QUANTITA'' LAVORAZIONE RICHIESTA (S/N)',2,'QTALAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',17,'UNITA'' DI MISURA LAVORAZIONE',2,'UDMLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASTA','CA',18,'FLAG GENERAZIONE ATT PARTITA/VASC DEST.',2,'FLATPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',19,'NUMERO ATT PARTITA/VASCA DA FORZARE',2,'NUMFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASTA','CA',20,'CODICE ATT PARTITA/VASCA DA FORZARE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASTA','CA',21,'GESTIONE NOTE ( /S)',2,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',22,'GESTIONE CLIENTE/FORNITORE SUL MOVIMENTO',2,'GESCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',26,'PROPONI CONTENUTO VASCHE SCARICO',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',27,'PROPONI CAPACITA'' VASCHE CARICO',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',28,'STAMPA ETICHETTE VASCHE CARICO ORDINE',2,'STAETI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASTA','CA',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('AVASTA','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','PA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','PA',3,'TIPO RECORD = "PA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','PA',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVASTA','PA',5,'SPAZI',2,'SPACES',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','PA',6,'ANNO PARTITA DA PROPORRE',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASTA','PA',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('AVASTA','RQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','RQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','RQ',3,'TIPO RECORD = "RQ"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','RQ',4,'RIFERIMENTO QUALITA''',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASTA','RQ',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASTA','RQ',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','RQ',7,'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,'' )
,('AVASTA','RQ',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVASTA','SE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','SE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','SE',3,'TIPO RECORD = "SE"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','SE',4,'SETTORE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','SE',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASTA','SE',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','SE',7,'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,'' )
,('AVASTA','SE',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVASTA','SO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','SO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','SO',3,'TIPO RECORD = "PA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','SO',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVASTA','SO',5,'SIGLA ISO DA ST. IN ORDINE CANTINA',2,'SIGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVASTA','SO',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('AVASTA','ST',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','ST',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','ST',3,'TIPO RECORD = "ST"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','ST',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','ST',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASTA','ST',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','ST',7,'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,'' )
,('AVASTA','ST',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVASTA','TA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','TA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','TA',3,'TIPO RECORD = "TA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','TA',4,'TIPO ANALISI',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASTA','TA',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASTA','TA',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','TA',7,'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,'' )
,('AVASTA','TA',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVASTA','TV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','TV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','TV',3,'TIPO RECORD = "TV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','TV',4,'TIPO VASCA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','TV',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASTA','TV',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','TV',7,'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,'' )
,('AVASTA','TV',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVASTA','VA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','VA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASTA','VA',3,'TIPO RECORD = "VA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASTA','VA',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASTA','VA',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASTA','VA',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASTA','VA',7,'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,'' )
,('AVASTA','VA',8,'DESCRIZIONE ABBREVIATA PER STAMPE',2,'DESSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASTA','VA',9,'SIGLA UNITA'' DI MISURA',2,'UDIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASTA','VA',10,'NUMERO INTERI',2,'MAXINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASTA','VA',11,'NUMERO DECIMALI',2,'MAXDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVASTA','VA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AVASV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASV1','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASV1','01',3,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',2,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASV2','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASV2','01',3,'CODICE RAGGRUPPAMENTO VINIFICAZIONE',2,'CODRAG',2,1,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVASV2','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AVASV3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASV3','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASV3','01',3,'CODICE RAGGRUPPAMENTO VINIFICAZIONE(STB)',2,'CODRAG',2,1,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVASV3','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AVASV4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASV4','01',2,'CODICE VARIETA',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASV4','01',3,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',2,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASV4','01',4,'MASSA VOLUMICA',2,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,4,0,'9V9(4)','',0,'',0,0,'' )
,('AVASV4','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('AVASVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASVA','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASVA','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASVA','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASVA','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASVA','01',6,'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,'' )
,('AVASVA','01',7,'FISSA IN CALCOLO SITUAZIONE VASCHE S/N',2,'FLGFIS',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
('AVASVA','01',8,'TIPO COLLEGAMENTO C=COMM V=VINIFICAZIONE',2,'FLGCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASVA','01',10,'TABELLA COLONNE VINIFICAZIONE',2,'TABCOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASVA','01',11,'COLONNE VINIFICAZIONE DA CONSIDERARE',3,'COLVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',10,'',0,0,'' )
,('AVASVA','01',12,'MASSA VOLUMICA',3,'MAVVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,4,0,'9V9(4) COMP-3','',10,'',0,0,'' )
,('AVASVA','01',14,'DESCRIZIONE PER STAMPA ETICHETTE COMMERC',2,'DESETI',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASVA','01',15,'COLONNA DESTINAZIONE QLI PREELABORATI',2,'COLCNF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('AVASVA','01',16,'FATTORE CONVERSIONEQLI PREELABORAZIONE',2,'FATCNF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,4,0,'9V9(4) COMP-3','',0,'',0,0,'' )
,('AVASVA','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASVG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASVG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASVG','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,'' )
,('AVASVG','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,'' )
,('AVASVG','01',5,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASVG','01',6,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASVG','01',7,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASVG','01',8,'CODICE VARIETA''',2,'CODVAR',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASVG','01',9,'GIACENZA VASCA',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AVASVG','01',10,'FISSA IN CALCOLO SITUAZIONE VASCHE S/N',2,'FLGFIS',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASVG','01',11,'CODICE COMMERCIALIZZAZIONE SOLO FLGFIS=S',2,'CODCOM',0,0,2,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASVG','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVAT02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAT02','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAT02','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAT02','01',4,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVAT02','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AVAT09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAT09','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVAT09','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAT09','01',4,'DIFFERENZA IN EURO AL QUINTALE',2,'DIFQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,4,8,3,0,'S9(3)V9(3) COMP-3','',10,'',0,0,'' )
,('AVAT09','01',5,'DIFFERENZA IN PERCENTUALE AL QUINTALE',2,'PERQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,3,7,2,0,'S999V99 COMP-3','',10,'',0,0,'' )
,('AVAT09','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVAVA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAVA1','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVAVA1','01',3,'FAMIGLIA/ANNO/COMMITTENTE',2,'CODFAM',2,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAVA1','01',4,'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,'' )
,('AVAVA1','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,'' )
,('AVAVA1','01',6,'COMMITTENTE',3,'COMMIT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAVA1','01',7,'TIPO COMMITTENTE (C=CLIENTE F=FORNITORE)',4,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVAVA1','01',8,'CODICE COMMITTENTE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVAVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAVAR','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAVAR','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVAVAR','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAVAR','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVAVAR','01',6,'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,'' )
,('AVAVAR','01',7,'FISSA IN CALCOLO SITUAZIONE VASCHE S/N',2,'FLGFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVAVAR','01',8,'DESCRIZIONE PER STAMPA ETICHETTE COMMERC',2,'DESETI',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVAZ02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAZ02','01',2,'CODICE ATTRIBUTO ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAZ02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVAZ02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVCCAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCCAM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCCAM','01',3,'NUMERO CAMPIONE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVCCAM','01',4,'DATA CAMPIONE',2,'DTACAM',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVCCAM','01',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCCAM','01',6,'ANNO CAMPIONE',3,'AAACAM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVCCAM','01',7,'GIORNO CAMPIONE',3,'GGGCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVCCAM','01',8,'MESE CAMPIONE',3,'MMMCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVCCAM','01',9,'TIPO SOGGETTO (C/F/N)',2,'TIPSOG',0,0,0,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVCCAM','01',10,'CODICE SOGGETTO',2,'CODSOG',0,0,0,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVCCAM','01',11,'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,'' )
,('AVCCAM','01',12,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCCAM','01',13,'DESCR.LIBERA PRODOTTO PER ST.ETICHETTA',2,'DESVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('AVCCAM','01',14,'GRADO',2,'GRADOI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVCCAM','01',15,'QUANTITA'' IN ETTOLITRI',2,'QTAHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AVCCAM','01',16,'NUMERO ETICHETTE DA STAMPARE',2,'NRETCH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVCCAM','01',17,'NOTE DA STAMPARE NELL''ETICHETTA',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AVCCAM','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,152,152,0,0,'X(152)','',0,'',0,0,'' )
,('AVCCCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCCCV','01',2,'NUMERO CAMPIONE',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVCCCV','01',3,'CODICE VASCA',2,'CODVAS',2,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCCCV','01',4,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVCCCV','01',5,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVCCCV','01',6,'NUMERO',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCCCV','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AVCNOM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCNOM','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,'' )
,('AVCNOM','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVCNOM','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AVCNOM','01',5,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AVCNOM','01',6,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVCNOM','01',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AVCNOM','01',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVCNOM','01',9,'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,'' )
,('AVCNOM','01',10,'NUMERO CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVCNOM','01',11,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVCNOM','01',12,'E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVCNOM','01',13,'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,'' )
,('AVCNOM','01',14,'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,'' )
,('AVCNOM','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,'' )
,('AVCNOM','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,121,121,0,0,'X(121)','',0,'',0,0,'' )
,('AVCNOT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCNOT','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,'' )
,('AVCNOT','01',3,'NUMERO CAMPIONE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVCNOT','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVCNOT','01',5,'NOTA',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AVCNOT','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVCPCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCPCA','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVCPCA','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVCPCA','01',4,'ULTIMO NUMERO CAMPIONE CARICATO',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVCPCA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVCPRN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCPRN','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,'' )
,('AVCPRN','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVCPRN','01',4,'ULTIMO CODICE NOMINATIVO CARICATO',2,'ULTNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVCPRN','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('AVCS38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCS38','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVCS38','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVCS38','01',4,'IMPORTO AUMENTO CAPITALE',2,'IMPAUM',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVCS38','01',5,'IMPORTO SOVRAPREZZO',2,'IMPSPQ',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVCS38','01',6,'IMPORTO AUMENTO 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,'' )
,('AVCS38','01',8,'CODICE CAUSALE VERS. CAPITALE',2,'CAUVCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',9,'DATA REGISTRAZIONE VERS. CAPITALE',2,'DATVCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVCS38','01',10,'GRUPPO DARE VERS. CAPITALE',2,'GRUDVC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',11,'CONTO DARE VERS. CAPITALE',2,'CONDVC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',12,'GRUPPO AVERE VERS. CAPITALE',2,'GRUAVC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',13,'CONTO AVERE VERS. CAPITALE',2,'CONAVC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',14,'CONTABILIZZAZIONE /S',2,'FLGCVC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVCS38','01',16,'CODICE CAUSALE VERS. SOVRAPREZZO',2,'CAUVSQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',17,'DATA REGISTRAZIONE VERS. SOVRAPREZZO',2,'DATVSQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVCS38','01',18,'GRUPPO DARE VERS. COVRAPREZZO',2,'GRUDVS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',19,'CONTO DARE SOVRAPREZZO',2,'CONDVS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',20,'GRUPPO AVERE VERS. SOVRAPREZZO',2,'GRUAVS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',21,'CONTO AVERE VERS. SOVRAPREZZO',2,'CONAVS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVCS38','01',22,'SOTTOCONTO AVERE VERS. SOVRAPREZZO',2,'SOTAVS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVCS38','01',23,'CONTABILIZZAZIONE /S',2,'FLGVSQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVCS38','01',25,'CAUSALE VERS. AUMENTO SU LIBRO SOCI',2,'CAULVC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVCS38','01',26,'DATA VERS. AUMENTO SU LIBRO SOCI',2,'DATLVC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVCS38','01',27,'ANNOTAZIONE VERS. AUMENTO SU LIBRO SOCI',2,'NOTLVC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVCS38','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVDBQ1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDBQ1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDBQ1','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVDBQ1','01',4,'NUMERO ATT.ART. PER ARTICOLI GENERICI',2,'NUMATG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDBQ1','01',5,'CODICE ATT.ART. PER ARTICOLI GENERICI',2,'CODATG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVDBQ1','01',6,'NUMERO ATT.ART. PER ARTICOLI BRIX',2,'NUMATB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDBQ1','01',7,'CODICE ATT.ART. PER ARTICOLI BRIX',2,'CODATB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVDBQ1','01',8,'NUMERO ATT.ART. PER ARTICOLI ZUCCHERO',2,'NUMATZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDBQ1','01',9,'CODICE ATT.ART. PER ARTICOLI ZUCCHERO',2,'CODATZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVDBQ1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('AVDBQ2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDBQ2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDBQ2','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,'' )
,('AVDBQ2','01',4,'COSTO STANDARD',2,'COSSTD',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('AVDBQ2','01',5,'NUMERO BRIX A CUI E'' RIFERITO IL COSSTD',2,'NRBRIX',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVDBQ2','01',6,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'9(2)V9(5)','',0,'',0,0,'' )
,('AVDBQ2','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('AVDP03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP03','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP03','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AVDP03','01',4,'TIPO ELABORAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP03','01',5,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP03','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,461,461,0,0,'X(461)','',0,'',0,0,'' )
,('AVDP08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP08','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP08','01',3,'CODICE PARAMETRI VALORIZZAZIONE',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVDP08','01',4,'DESCRIZIONE PARAMETRI VALORIZZAZIONE',2,'DESPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVDP08','01',5,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP08','01',6,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP08','01',7,'AREA MAGAZZINI PER CALCOLO COS MED E UC',2,'AREAMA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP08','01',8,'MAGAZZINI PER CALCOLO COSTO MEDIO/U.C.',3,'MAGCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',20,'',0,0,'' )
,('AVDP08','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,901,901,0,0,'X(901)','',0,'',0,0,'' )
,('AVDP09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP09','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP09','01',3,'CODICE PARAMETRI VALORIZZAZIONE',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVDP09','01',4,'DESCRIZIONE PARAMETRI VALORIZZAZIONE',2,'DESPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVDP09','01',5,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP09','01',6,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP09','01',7,'CODICE LINEA VALORIZZATA DA TABELLA',2,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVDP09','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,935,935,0,0,'X(935)','',0,'',0,0,'' )
,('AVDP32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP32','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AVDP32','01',4,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP32','01',5,'CAUSALI SALDI CALC COSTO MEDIO NO GIAC.',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP32','01',6,'MAGAZZINO DI RIFERIMENTO',2,'MAGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP32','01',7,'VALORIZZAZIONE DIRETTA PRODOTTO FINITO',2,'PRODFI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP32','01',8,'VALORIZZAZIONE COMPONENTI SFUSI',2,'VALCMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP32','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,957,957,0,0,'X(957)','',0,'',0,0,'' )
,('AVDP38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP38','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP38','01',3,'CODICE PARAMETRI VALORIZZAZIONE',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVDP38','01',4,'DESCRIZIONE PARAMETRI VALORIZZAZIONE',2,'DESPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVDP38','01',5,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP38','01',6,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP38','01',7,'MAGAZZINI PER CALCOLO COSTO MEDIO/U.C.',2,'MAGCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',20,'',0,0,'' )
,('AVDP38','01',8,'MAGAZZINO INIZIALE',2,'MAGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP38','01',9,'MAGAZZINO FINALE',2,'MAGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP38','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,897,897,0,0,'X(897)','',0,'',0,0,'' )
,('AVDP63','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP63','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP63','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AVDP63','01',4,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP63','01',5,'CAUSALI SALDI CALC COSTO MEDIO NO GIAC.',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP63','01',6,'CAUSALI SALDI CALC COSTO MEDIO SI GIAG.',2,'SALAC1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP63','01',7,'MAGAZZINO DI RIFERIMENTO',2,'MAGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP63','01',8,'VALORIZZAZIONE DIRETTA PRODOTTO FINITO',2,'PRODFI',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
('AVDP63','01',9,'VALORIZZAZIONE COMPONENTI SFUSI',2,'VALCMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP63','01',10,'CAUSALI PRODUZIONE',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',8,'',0,0,'' )
,('AVDP63','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,901,901,0,0,'X(901)','',0,'',0,0,'' )
,('AVDP72','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP72','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP72','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AVDP72','01',4,'DATA INIZIALE LETTURA FATTURE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVDP72','01',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP72','01',6,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVDP72','01',7,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP72','01',8,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP72','01',9,'DATA FINE LETTURA FATTURE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVDP72','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,'' )
,('AVDP72','01',11,'ANNO FINE',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVDP72','01',12,'MESE FINE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP72','01',13,'GIORNO FINE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVDP72','01',14,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP72','01',15,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP72','01',16,'CAUSALI PARTICOLARI VALORIZZAZIONE FIFO',2,'CAUPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',30,'',0,0,'' )
,('AVDP72','01',17,'CAUSALI PRODUZIONE PER IMBOTTIGLIAMENTO',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',16,'',0,0,'' )
,('AVDP72','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,197,197,0,0,'X(197)','',0,'',0,0,'' )
,('AVDP79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP79','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDP79','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AVDP79','01',4,'CAUSALI PRODUZIONE DA CONSIDERARE (FIFO)',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',9,'',0,0,'' )
,('AVDP79','01',5,'TIPO ELABORAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDP79','01',6,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDP79','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,389,389,0,0,'X(389)','',0,'',0,0,'' )
,('AVDPGG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDPGG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVDPGG','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AVDPGG','01',4,'TIPO VALORIZZAZIONE',2,'TIPVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVDPGG','01',5,'CAUSALI SALDI PER CALCOLO COSTO MEDIO',2,'SALACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AVDPGG','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,961,961,0,0,'X(961)','',0,'',0,0,'' )
,('AVENAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVENAS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVENAS','01',3,'CODICE VENDEMMIA',3,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVENAS','01',4,'GRUPPO/CONTO/SOTTOCONTO',2,'GRCOSO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVENAS','01',5,'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,'' )
,('AVENAS','01',6,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVENAS','01',7,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVENRE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVENRE','01',2,'SOCIETA'' S/N',2,'FLGSOC',1,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVENRE','01',3,'CODICE SOCIO',2,'CODSOC',2,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVENRE','01',4,'CODICE ZONA',2,'CODZON',3,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVENRE','01',5,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVENRE','01',6,'SUPERFICE UVA BIANCA',2,'SUPBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVENRE','01',7,'SUPERFICE UVA ROSSA',2,'SUPNER',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVENRE','01',8,'QUANTITA'' OTTIMALE UVA BIANCA',2,'QTABIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVENRE','01',9,'QUANTITA'' OTTIMALE UVA ROSSA',2,'QTANER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVENRE','01',10,'FLAG AUTOMATICO/MANUALE A/M',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVENRE','01',11,'SUDDIVISIONE BIANCA/NERA S/N',2,'BIANER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVENRE','01',12,'RAGRUPPAMENTO SCAGLIONI S/N',2,'RAGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVENRE','01',13,'SCAGLIONE',2,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('AVENRE','01',14,'PERCENTUALE UVA BIANCA',3,'PERBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVENRE','01',15,'PERCENTUALE UVA ROSSA',3,'PERNER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVENRE','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPA0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA0','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA0','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVEPA0','01',4,'TIPO IMPORT(1=DATI AGG 2=FOTO X DENUNCE)',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA0','01',5,'DATA ULTIMO IMPORT',2,'DTAIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA0','01',6,'ORA ULTIMO IMPORT',2,'ORAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVEPA0','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,277,277,0,0,'X(277)','',0,'',0,0,'' )
,('AVEPA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA1','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA1','01',3,'NUMERO RIGA',3,'NUMERO',0,2,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA1','01',4,'CUAA',2,'CODCUA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPA1','01',5,'NUMERO PROGRESSIVO SCHEDARIO',2,'PROSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA1','01',6,'CODICE SOCIO',2,'CODSOC',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA1','01',7,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AVEPA1','01',8,'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,'' )
,('AVEPA1','01',9,'COGNOME',2,'COGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVEPA1','01',10,'NOME',2,'NOMSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVEPA1','01',11,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA1','01',12,'DATA DI NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA1','01',13,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA1','01',14,'PROVINCIA DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVEPA1','01',15,'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,'' )
,('AVEPA1','01',16,'INDIRIZZO SEDE',2,'INDSED',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA1','01',17,'COMUNE SEDE',2,'COMSED',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA1','01',18,'PROVINCIA SEDE',2,'PROSED',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVEPA1','01',19,'CAP SEDE',2,'CAPSED',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPA1','01',20,'TELEFONO SEDE',2,'TELSED',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVEPA1','01',21,'CODICE FISCALE RAPPRESENTANTE LEGALE',2,'CFSRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPA1','01',22,'COGNOME RAPPRESENTANTE LEGALE',2,'COGRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVEPA1','01',23,'NOME RAPPRESENTANTE LEGALE',2,'NOMRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVEPA1','01',24,'SESSO RAPPRESENTANTE LEGALE',2,'SEXRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA1','01',25,'DATA DI NASCITA RAPPRESENTANTE LEGALE',2,'DTNRAP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA1','01',26,'PROVINCIA NASCITA RAPPRESENTANTE LEGALE',2,'PRNRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVEPA1','01',27,'INDIRIZZO RAPPRESENTANTE LEGALE',2,'INDRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA1','01',28,'COMUNE RAPPRESENTANTE LEGALE',2,'COMRAP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA1','01',29,'PROVINCIA RAPPRESENTANTE LEGALE',2,'PRORAP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVEPA1','01',30,'CAP RAPPRESENTANTE LEGALE',2,'CAPRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPA1','01',31,'TELEFONO RAPPRESENTANTE LEGALE',2,'TELRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVEPA1','01',32,'CAA CHE DETIENE IL MANDATO',2,'MANDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVEPA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA2','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA2','01',3,'NUMERO RIGA',3,'NUMERO',0,2,2,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA2','01',4,'CUAA',2,'CODCUA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVEPA2','01',5,'NUMERO PROGRESSIVO SCHEDARIO',2,'PROSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA2','01',6,'CODICE SOCIO',2,'CODSOC',0,0,1,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA2','01',7,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPA2','01',8,'CATEGORIA',2,'CATEGO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA2','01',9,'ID_UV - PROGRESSIVO UNIVOCO ALL''INTERNO',2,'ID-UVV',0,0,0,3,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPA2','01',12,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA2','01',13,'RIFERIMENTI CATASTALI',2,'RIFCAT',0,0,0,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA2','01',14,'COMUNE',3,'COMUNE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA2','01',15,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVEPA2','01',16,'PARTICELLA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPA2','01',17,'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,'' )
,('AVEPA2','01',18,'SUPERFICIE SPECIALIZZATA',2,'SUPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA2','01',19,'SUPERFICIE SPECIALIZZATA METRI',2,'MMMSPE',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA2','01',20,'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,'' )
,('AVEPA2','01',21,'ID VIGNETO',2,'ID-VIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPA2','01',22,'NUOVA ISCRIZIONE S/N',2,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA2','01',23,'DATA VALIDAZIONE',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA2','01',24,'BLOCCO TIPOLOGIA S/N',2,'FLGTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA2','01',25,'BLOCCO RIVENDICAZIONE S/N',2,'FLGRIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA2','01',26,'DESCR.ISCRIZIONE (TRADOTTA IN CODUVA)',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AVEPA2','01',27,'BLOCCO IDONEITA S/N',2,'FLGIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA3','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA3','01',3,'NUMERO RIGA',3,'NUMERO',0,2,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA3','01',4,'CUAA',2,'CODCUA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPA3','01',5,'NUMERO PROGRESSIVO SCHEDARIO',2,'PROSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA3','01',6,'CODICE SOCIO',2,'CODSOC',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA3','01',7,'SUPERFICIE TOTALE AZIENDA',2,'SUPAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA3','01',8,'SUPERFICIE TOTALE AZIENDA METRI',2,'MMMAZI',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA3','01',9,'TIPO DIRITTO',2,'TIPDIR',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVEPA3','01',10,'NUMERO DIRITTO',2,'NUMDIR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('AVEPA3','01',11,'NUMERO AUTORIZZAZIONE',2,'NUMAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVEPA3','01',12,'NUMERO ATTO AMMINISTRATIVO',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVEPA3','01',13,'DATA RILASCIO',2,'DATRIL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA3','01',14,'SUPERFICIE AUTORIZZATA',2,'SUPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA3','01',15,'SUPERFICIE AUTORIZZATA METRI',2,'MMMAUT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA3','01',16,'SUPERFICIE IMPIANTATA',2,'SUPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA3','01',17,'SUPERFICIE IMPIANTATA METRI',2,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA3','01',18,'SUPERFICIE RESIDUA',2,'SUPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA3','01',19,'SUPERFICIE RESIDUA METRI',2,'MMMRES',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA3','01',20,'DATA SCADENZA DIRITTO',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA4','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA4','01',3,'NUMERO RIGA',3,'NUMERO',0,2,2,6,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA4','01',4,'CUAA',2,'CODCUA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPA4','01',5,'NUMERO PROGRESSIVO SCHEDARIO',2,'PROSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA4','01',6,'CODICE SOCIO',2,'CODSOC',0,0,1,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA4','01',7,'UV SITI',2,'UVSITI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPA4','01',8,'CAMPAGNA',2,'CAMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA4','01',10,'COMUNE',2,'CODCOM',0,0,0,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA4','01',11,'FOGLIO',2,'FOGLIO',0,0,0,3,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVEPA4','01',12,'PARTICELLA',2,'NUMPAR',0,0,0,4,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPA4','01',13,'SUB PARTICELLA',2,'SUBPAR',0,0,0,5,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPA4','01',14,'SUPERFICIE CATASTALE',2,'SUPCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA4','01',15,'SUPERFICIE CATASTALE METRI',2,'MMMCAT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA4','01',16,'SESTO D''IMPIANTO SU FILA',2,'SESTOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',17,'SESTO D''IMPIANTO TRA FILE',2,'SESTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',18,'NUMERO CEPPI',2,'NCEPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA4','01',19,'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,'' )
,('AVEPA4','01',20,'FORMA ALLEVAMENTO (ATTRIBUTO)',2,'FORALL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA4','01',21,'IRRIGAZIONE ATTRIBUTO',2,'TIPIRR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA4','01',22,'DESTINAZIONE PRODUTTIVA ATTRIBUTO',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA4','01',23,'TIPO COLTURA ATTRIBUTO',2,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA4','01',24,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA4','01',25,'SUPERFICIE VITATA METRI',2,'MMMVIT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA4','01',26,'CODICE VARIETA'' (VITIGNO AV2000)',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',27,'DESCRIZIONE VARIETA''',2,'DESVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA4','01',28,'TIPO VARIETA''',2,'TIPVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA4','01',29,'DATA SCADENZA AFFITTO',2,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA4','01',30,'redefines',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA4','01',31,'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,'' )
,('AVEPA4','01',32,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA4','01',33,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA4','01',34,'DATA IMPIANTO',2,'DTAIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA4','01',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA4','01',36,'ANNO IMPIANTO',3,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',37,'MESE IMPIANTO',3,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA4','01',38,'GIORNO IMPIANTO',3,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA4','01',39,'SOVRAINNESTO (S/N)',2,'FLGSOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA4','01',40,'CAMPAGNA IMPIANTO',2,'CAMIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AVEPA4','01',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA4','01',42,'ANNO CAMPAGNA IMPIANTO INIZIALE',3,'CAMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',43,'FILLER (TRATTINO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA4','01',44,'ANNO CAMPAGNA IMPIANTO FINALE',3,'CAMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA4','01',45,'CODICE NAZIONALE COMUNE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPA4','01',46,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AVEPA5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA5','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA5','01',3,'NUMERO RIGA',3,'NUMERO',0,2,2,6,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA5','01',4,'CUAA',2,'CODCUA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPA5','01',5,'NUMERO PROGRESSIVO SCHEDARIO',2,'PROSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA5','01',6,'CODICE SOCIO',2,'CODSOC',0,0,1,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA5','01',7,'UV SITI',2,'UVSITI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPA5','01',8,'CAMPAGNA',2,'CAMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA5','01',10,'COMUNE',2,'CODCOM',0,0,0,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA5','01',11,'SEZIONE CENSUARIA',2,'SEZION',0,0,0,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA5','01',12,'FOGLIO',2,'FOGLIO',0,0,0,4,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVEPA5','01',13,'PARTICELLA',2,'NUMPAR',0,0,0,5,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVEPA5','01',14,'SUB PARTICELLA',2,'SUBPAR',0,0,0,6,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPA5','01',15,'SUPERFICIE CATASTALE',2,'SUPCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA5','01',16,'SUPERFICIE CATASTALE METRI',2,'MMMCAT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA5','01',17,'SESTO D''IMPIANTO SU FILA',2,'SESTOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',18,'SESTO D''IMPIANTO TRA FILE',2,'SESTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',19,'NUMERO CEPPI',2,'NCEPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA5','01',20,'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,'' )
,('AVEPA5','01',21,'FORMA ALLEVAMENTO (ATTRIBUTO)',2,'FORALL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA5','01',22,'IRRIGAZIONE ATTRIBUTO',2,'TIPIRR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA5','01',23,'DESTINAZIONE PRODUTTIVA ATTRIBUTO',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA5','01',24,'TIPO COLTURA ATTRIBUTO',2,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPA5','01',25,'CODICE POSSESSO',2,'CODPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA5','01',26,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA5','01',27,'SUPERFICIE VITATA METRI',2,'MMMVIT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA5','01',28,'CODICE VARIETA'' (VITIGNO AV2000)',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',29,'DESCRIZIONE VARIETA''',2,'DESVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA5','01',30,'TIPO VARIETA''',2,'TIPVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA5','01',31,'DATA SCADENZA AFFITTO',2,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA5','01',32,'redefines',2,'AMGSCA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA5','01',33,'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,'' )
,('AVEPA5','01',34,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA5','01',35,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA5','01',36,'DATA IMPIANTO',2,'DTAIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA5','01',37,'REDEFINES',2,'AMGIMP',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA5','01',38,'ANNO IMPIANTO',3,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',39,'MESE IMPIANTO',3,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA5','01',40,'GIORNO IMPIANTO',3,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPA5','01',41,'SOVRAINNESTO (S/N)',2,'FLGSOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA5','01',42,'CAMPAGNA IMPIANTO',2,'CAMIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AVEPA5','01',43,'REDEFINES',2,'IEFIMP',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA5','01',44,'ANNO CAMPAGNA IMPIANTO INIZIALE',3,'CAMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',45,'FILLER (TRATTINO)',3,'TRATIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA5','01',46,'ANNO CAMPAGNA IMPIANTO FINALE',3,'CAMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPA5','01',47,'CODICE NAZIONALE COMUNE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVEPA6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA6','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA6','01',3,'NUMERO RIGA',3,'NUMERO',0,2,2,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA6','01',4,'CUAA',2,'CODCUA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPA6','01',5,'NUMERO PROGRESSIVO SCHEDARIO',2,'PROSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA6','01',6,'CODICE SOCIO',2,'CODSOC',0,0,1,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA6','01',7,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPA6','01',8,'CATEGORIA',2,'CATEGO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA6','01',9,'ID_UV - PROGRESSIVO UNIVOCO ALL''INTERNO',2,'ID-UVV',0,0,0,3,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPA6','01',12,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPA6','01',13,'RIFERIMENTI CATASTALI',2,'RIFCAT',0,0,0,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPA6','01',14,'COMUNE',3,'COMUNE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPA6','01',15,'SEZIONE CENSUARIA',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA6','01',16,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVEPA6','01',17,'PARTICELLA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPA6','01',18,'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,'' )
,('AVEPA6','01',19,'SUPERFICIE SPECIALIZZATA',2,'SUPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPA6','01',20,'SUPERFICIE SPECIALIZZATA METRI',2,'MMMSPE',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPA6','01',21,'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,'' )
,('AVEPA6','01',22,'ID VIGNETO',2,'ID-VIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPA6','01',23,'NUOVA ISCRIZIONE S/N',2,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA6','01',24,'DATA VALIDAZIONE',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVEPA6','01',25,'BLOCCO TIPOLOGIA S/N',2,'FLGTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA6','01',26,'BLOCCO RIVENDICAZIONE S/N',2,'FLGRIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA6','01',27,'DESCR.ISCRIZIONE (TRADOTTA IN CODUVA)',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AVEPA6','01',28,'BLOCCO IDONEITA S/N',2,'FLGIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPA6','01',29,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPAS','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPAS','01',3,'NUMERO RIGA',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPAS','01',4,'CODICE A BARRE',2,'CBARRE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVEPAS','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,'' )
,('AVEPAS','01',6,'PARTITA IVA',2,'PARIVA',0,1,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AVEPAS','01',7,'CODICE OP',2,'CODIOP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVEPAS','01',8,'FLAG GIS',2,'FLGGIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPAS','01',9,'CODICE NAZIONALE COMUNE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPAS','01',10,'UNAR SIAN',2,'UNSIAN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVEPAS','01',11,'UNAR SITI',2,'UNSITI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPAS','01',12,'CAMPAGNA',2,'CAMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPAS','01',13,'UNAR',2,'UNAR',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPAS','01',14,'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,'' )
,('AVEPAS','01',15,'SEZIONE',2,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPAS','01',16,'FOGLIO',2,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AVEPAS','01',17,'MAPPALE',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPAS','01',18,'SUPERFICIE CATASTALE',2,'SUPCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPAS','01',19,'CATASTALE METRI',2,'MMMCAT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPAS','01',20,'SESTO IMPIANTO SU FILA',2,'SESTOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPAS','01',21,'SESTO IMPIANTO TRA FILE',2,'SESTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPAS','01',22,'NUMERO CEPPI',2,'NCEPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPAS','01',23,'ANNO IMPIANTO',2,'ANNOIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPAS','01',24,'FORMA ALLEVAMENTO',2,'FORALL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVEPAS','01',25,'FLAG IRRIGATO',2,'FLGIRR',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVEPAS','01',26,'TIPO COLTURA',2,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVEPAS','01',27,'DESTINAZIONE',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVEPAS','01',28,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AVEPAS','01',29,'VITATA IN METRI',2,'MMMVIT',0,0,0,0,0,0,0,0,0,0,'S',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVEPAS','01',30,'CODICE VARIETA''',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVEPAS','01',31,'CODICE TIPO VARIETA''',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVEPAS','01',32,'FLAG ATTUALE',2,'FLGATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPAS','01',33,'CODICE ANOMALIA',2,'CODANO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVEPAS','01',34,'STATO PLAV',2,'STPLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVEPAS','01',35,'CODCIE ANOMALIA 2',2,'CODAN2',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVEPC1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC1','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC1','01',3,'DESCRIZIONE COMUNE',3,'DESCOM',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVEPC1','01',4,'CODICE COMUNE',2,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVEPC1','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('AVEPC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC2','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC2','01',3,'DESCRIZIONE UVA',3,'DESUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVEPC2','01',4,'TIPO UVA',3,'TIPUVA',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVEPC2','01',5,'CODICE UVA',2,'CODUVA',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVEPC2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('AVEPC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC3','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC3','01',3,'NUMER ATTRIBUTO CATASTO',3,'NUMATT',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVEPC3','01',4,'DESCRIZIONE ATTRIBUTO',3,'DESATT',0,3,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVEPC3','01',5,'CODICE ATTRIBUTO',2,'CODATT',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVEPC3','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('AVEPC4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC4','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVEPC4','01',3,'CODICE CUAA',3,'CODCUA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVEPC4','01',4,'CODICE SOCIO AV2000',2,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVEPC4','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,78,78,0,0,'X(78)','',0,'',0,0,'' )
,('AVERIT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVERIT','01',2,'CODICE FORNITORE',2,'CODFOR',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVERIT','01',3,'DATA DOCUMENTO',2,'DATDOC',2,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVERIT','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,'' )
,('AVERIT','01',5,'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,'' )
,('AVERIT','01',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVERIT','01',7,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVERIT','01',8,'NUMERO REGISTRAZIONE CONTABILE',2,'NUMREG',3,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVERIT','01',9,'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,'' )
,('AVERIT','01',10,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVERIT','01',11,'IMPORTO RITENUTA',2,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVERIT','01',12,'DA VERSARE S/N',2,'FLGVER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVERIT','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVETCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETCO','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,'' )
,('AVETCO','01',3,'CODICE REGISTRO DI COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETCO','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETCO','01',5,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETCO','01',6,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETCO','01',7,'CORREZIONE SALDO',2,'QTARIT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AVETCO','01',8,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVETCO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AVETIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETIC','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,'' )
,('AVETIC','01',3,'CODICE REGISTRO DI COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIC','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETIC','01',5,'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,'' )
,('AVETIC','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,'' )
,('AVETIC','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIC','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIC','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIC','01',10,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIC','01',11,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIC','01',12,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AVETIC','01',13,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVETIC','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('AVETIL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETIL','01',2,'CHIAVE PER STABILIMENTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETIL','01',3,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVETIL','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETIL','01',5,'PROGRESSIVO ELABORAZIONE',4,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETIL','01',6,'CODICE VASCA',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETIL','01',7,'CODICE AZIENDA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIL','01',8,'CODICE REGISTRO DI COMMERCIALIZZAZIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIL','01',9,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIL','01',10,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIL','01',11,'GIACENZA CALCOLATA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AVETIL','01',12,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVETIL','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('AVETIN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETIN','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,'' )
,('AVETIN','01',3,'CODICE REGISTRO DI COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIN','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETIN','01',5,'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,'' )
,('AVETIN','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,'' )
,('AVETIN','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIN','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIN','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIN','01',10,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIN','01',11,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIN','01',12,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AVETIN','01',13,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVETIN','01',14,'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,'' )
,('AVETIN','01',15,'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,'' )
,('AVETIN','01',16,'CODICE COLONNA',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVETIN','01',17,'CODICE MANIPOLAZIONE',2,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVETIN','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('AVETIN','01',19,'GRADO VASCA',2,'GRDVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVETIN','01',20,'FLAG VASCA IN CONTO LAVORO (S)',2,'FLAGCL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVETIV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETIV','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,'' )
,('AVETIV','01',3,'CODICE REGISTRO DI COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIV','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETIV','01',5,'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,'' )
,('AVETIV','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,'' )
,('AVETIV','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIV','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETIV','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIV','01',10,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIV','01',11,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETIV','01',12,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AVETIV','01',13,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVETIV','01',14,'CODICE RAGGRUPPAMENTO VINIFICAZIONE',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVETIV','01',15,'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,'' )
,('AVETIV','01',16,'CODICE COLONNA',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVETIV','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('AVETRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVETRU','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,'' )
,('AVETRU','01',3,'CODICE REGISTRO DEMATERIALIZZATO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETRU','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVETRU','01',5,'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,'' )
,('AVETRU','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,'' )
,('AVETRU','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETRU','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVETRU','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVETRU','01',10,'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,'' )
,('AVETRU','01',11,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVETRU','01',12,'TIPO COMMITTENTE',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVETRU','01',13,'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,'' )
,('AVETRU','01',14,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AVETRU','01',15,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVETRU','01',16,'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,'' )
,('AVFVEP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVFVEP','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,'' )
,('AVFVEP','01',3,'VOCE CAMPIONE FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVFVEP','01',4,'VALORE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AVFVEP','01',5,'VALORE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AVFVEP','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('AVGA29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVGA29','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVGA29','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVGA29','01',4,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVGA29','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,'' )
,('AVGA29','01',6,'ANNO FINALE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVGA29','01',7,'MESE FINALE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVGA29','01',8,'GIORNO FINALE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVGA29','01',9,'DATA INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVGA29','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,'' )
,('AVGA29','01',11,'ANNO INIZIALE',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVGA29','01',12,'MESE INIZIALE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVGA29','01',13,'GIORNO INIZIALE',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVGA29','01',14,'GRADO MINIMO (COMPRESO)',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('AVGA29','01',15,'ELEMENTO',2,'ELEACI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AVGA29','01',16,'ACIDITA'' INIZIALE',3,'ACIINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AVGA29','01',17,'ACIDITA'' FINALE',3,'ACIFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AVGA29','01',18,'INCREMENTO GRADO',3,'INCGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('AVGIAB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVGIAB','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,'' )
,('AVGIAB','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,'' )
,('AVGIAB','01',4,'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,'' )
,('AVGIAB','01',5,'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,'' )
,('AVGIAB','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVINMU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVINMU','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,'' )
,('AVINMU','01',3,'CODICE VINCOLO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVINMU','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,'' )
,('AVINMU','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,'' )
,('AVINMU','01',6,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('AVINMU','01',7,'PERCENTUALE INTERESSE',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVINMU','01',8,'DATA INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVINMU','01',9,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVINMU','01',10,'GRUPPO CONTO SOTTOCONTO',2,'GRCOSO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVINMU','01',11,'GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVINMU','01',12,'CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVINMU','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('AVISCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVISCA','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVISCA','01',3,'CODICE CAUSALE',3,'CODCAU',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVISCA','01',4,'VISUA/EXPORT/HELP S/N',2,'FLGVIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVISCA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVITPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVITPR','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,'' )
,('AVITPR','01',3,'PROVINCIA',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVITPR','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,'' )
,('AVLG12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVLG12','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AVLG12','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVLG12','01',4,'PERCENTUALE VARIAZIONE (ADD/ACCR)',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVLG12','01',5,'IMPORTO VARIAZIONE AL QLE (ADD/ACCR)',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,2,0,'S9(4)V99','',0,'',0,0,'' )
,('AVLG12','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVLQ02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVLQ02','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVLQ02','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVLQ02','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVM120','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVM120','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,'' )
,('AVM120','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVM120','01',4,'NRATT.ART.USATO PER CATEGORIA COMPONENTI',2,'NRATCC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVM120','01',5,'COD.ATT.CATEGORIA USATO PER PROD.FINITI',2,'CDATPF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVM120','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,183,183,0,0,'X(183)','',0,'',0,0,'' )
,('AVM121','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVM121','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,'' )
,('AVM121','01',3,'ANNO ESERCIZIO (ANNO IN CUI FINISCE)',3,'ANNESE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVM121','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,'' )
,('AVM121','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVM121','01',6,'COSTO STANDARD',2,'COSTOS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('AVM121','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AVM122','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVM122','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,'' )
,('AVM122','01',3,'ANNO ESERCIZIO (ANNO IN CUI FINISCE)',3,'ANNESE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVM122','01',4,'CODICE CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('AVM122','01',5,'PERCENTUALE DI SPRECO',2,'PERSPR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVM122','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('AVMIMB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVMIMB','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,'' )
,('AVMIMB','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVMIMB','01',4,'CODICE ARTICOLO (LO STESSO DI AARTI1)',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVMIMB','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,'' )
,('AVMIMB','01',6,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVMIMB','01',7,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVMIMB','01',8,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVMIMB','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVMT35','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVMT35','01',2,'NUMERO ATTRIBUTO CONFERIMENTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVMT35','01',3,'CODICE ATTRIBUTO CONFERIMENTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVMT35','01',4,'PERCENTUALE VARIAZIONE MONTEGRADI',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVMT35','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVNG32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVNG32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVNG32','01',3,'TIPO TABELLA',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVNG32','01',4,'DESCRIZIONE TABELLA',2,'DESTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVNG32','01',5,'VARIAZIONI PER GRADO',2,'ELEPOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('AVNG32','01',6,'GRADO INIZIALE',3,'INIPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVNG32','01',7,'GRADO FINALE',3,'FINPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVNG32','01',8,'VARIAZIONE',3,'IMPPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AVNG32','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVNL32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVNL32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVNL32','01',3,'TIPO TABELLA',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVNL32','01',4,'DESCRIZIONE TABELLA',2,'DESTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVNL32','01',5,'VARIAZIONI PER GRADO',2,'ELEPOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('AVNL32','01',6,'GRADO INIZIALE',3,'INIPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVNL32','01',7,'GRADO FINALE',3,'FINPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVNL32','01',8,'VARIAZIONE',3,'IMPPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AVNL32','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVPG32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPG32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPG32','01',3,'TIPO TABELLA',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVPG32','01',4,'DESCRIZIONE TABELLA',2,'DESTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVPG32','01',5,'VARIAZIONI PER GRADO',2,'ELEPOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('AVPG32','01',6,'GRADO INIZIALE',3,'INIPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVPG32','01',7,'GRADO FINALE',3,'FINPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVPG32','01',8,'VARIAZIONE',3,'IMPPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AVPG32','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVPH58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPH58','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,'' )
,('AVPH58','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,'' )
,('AVPH58','01',4,'PH MEDIO',2,'FPHMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVPH58','01',5,'GRADO MINIMO BOLLETTA',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVPH58','01',6,'EURO INCREMENTO PER OGNI DECIMO',2,'INCDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,6,0,'999V9(6)','',0,'',0,0,'' )
,('AVPH58','01',7,'EURO DECREMENTO PER OGNI DECIMO',2,'DECDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,6,0,'999V9(6)','',0,'',0,0,'' )
,('AVPH58','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVPL32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPL32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPL32','01',3,'TIPO TABELLA',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVPL32','01',4,'DESCRIZIONE TABELLA',2,'DESTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVPL32','01',5,'VARIAZIONI PER GRADO',2,'ELEPOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('AVPL32','01',6,'GRADO INIZIALE',3,'INIPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVPL32','01',7,'GRADO FINALE',3,'FINPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVPL32','01',8,'VARIAZIONE',3,'IMPPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AVPL32','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVPRCF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPRCF','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,'' )
,('AVPRCF','01',3,'zeri',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVPRCF','01',4,'ULTIMO NUMERO CAMPIONE FOSS',2,'ULTCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVPRCF','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('AVPRNI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPRNI','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,'' )
,('AVPRNI','01',3,'TIPO RECORD = "NI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVPRNI','01',4,'zeri',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVPRNI','01',5,'ULTIMO NUMERO INTERNO MOVIMENTO VASCHE',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVPRNI','01',6,'ULTIMO NUMERO INTERNO ANALISI',2,'ULTANA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVPRNI','01',7,'ULTIMO NUMERO INTERNO PROPOSTA ACQUISTO',2,'ULTPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVPRNI','01',8,'ULTIMO NUMERO INTERNO ACQUISTO MAT.PRIME',2,'ULTACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVPRNI','01',9,'ULTIMO NUMERO INTERNO LOTTO',2,'ULTLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVPRNI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,101,101,0,0,'X(101)','',0,'',0,0,'' )
,('AVPRNP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPRNP','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,'' )
,('AVPRNP','01',3,'TIPO RECORD = "NP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVPRNP','01',4,'PRIMA PARTE CODICE PARTITA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPRNP','01',5,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVPRNP','01',6,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVPRNP','01',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVPRNP','01',8,'ULTIMO NUMERO PARTITA',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVPRNP','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('AVPROR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPROR','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,'' )
,('AVPROR','01',3,'TIPO RECORD = "OR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVPROR','01',4,'zeri',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVPROR','01',5,'ULTIMO NUMERO ORDINE CANTINA',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVPROR','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('AVPRUC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPRUC','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,'' )
,('AVPRUC','01',3,'TIPO RECORD = "UC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVPRUC','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AVPRUC','01',5,'DATA ULTIMA CHIUSURA MOVIMENTI',2,'DTACHI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVPRUC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('AVPZ02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVPZ02','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVPZ02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVPZ02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVPZ38','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
('AVPZ38','01',2,'CODICE ZONA (CLASSIFICA)',2,'CODZON',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVPZ38','01',3,'CODICE GRUPPO PAGAMENTO',2,'GRUPAG',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVPZ38','01',4,'VALORE PUNTO',2,'VALPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('AVPZ38','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVQC01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC01','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC01','01',3,'VALORE VECCHIA QUOTA',2,'OLDQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVQC01','01',4,'VALORE NUOVA QUOTA',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC01','01',5,'VECCHIO NUMERO QUOTE',2,'OLDNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVQC01','01',6,'NUOVO NUMERO QUOTE',2,'NEWNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVQC01','01',7,'VECCHIO IMPORTO CAPITALE',2,'OLDCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC01','01',8,'NUOVO IMPORTO CAPITALE',2,'NEWCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC01','01',9,'IMPORTO ECCEDENZA',2,'IMPECC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('AVQC01','01',10,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',11,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC01','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,'' )
,('AVQC01','01',13,'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,'' )
,('AVQC01','01',14,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC01','01',15,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC01','01',16,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',17,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',18,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',19,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',20,'SOTTOCONTO AVERE',2,'SOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC01','01',21,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVQC01','01',22,'CAUSALE STORNO LIBRO SOCI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC01','01',23,'DATA STORNO LIBRO SOCI',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC01','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,'' )
,('AVQC01','01',25,'ANNO LIBRO SOCI',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',26,'MESE LIBRO SOCI',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC01','01',27,'GIORNO LIBRO SOCI',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC01','01',28,'ANNOTAZIONE STORNO LIBRO SOCI',2,'ANNSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC01','01',29,'CAUSALE SCRITTURA LIBRO SOCI',2,'CAUSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC01','01',30,'DATA SCRITTURA LIBRO SOCI',2,'DATSCR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC01','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC01','01',32,'ANNO',3,'AAASCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC01','01',33,'MESE',3,'MMMSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC01','01',34,'GIORNO',3,'GGGSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC01','01',35,'ANNOTAZIONE SCRITTURA LIBRO SOCI',2,'ANNSCR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC02','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC02','01',3,'VALORE VECCHIA QUOTA',2,'OLDQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVQC02','01',4,'VALORE NUOVA QUOTA',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC02','01',5,'VECCHIO NUMERO QUOTE',2,'OLDNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVQC02','01',6,'NUOVO NUMERO QUOTE',2,'NEWNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVQC02','01',7,'VECCHIO IMPORTO CAPITALE',2,'OLDCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC02','01',8,'NUOVO IMPORTO CAPITALE',2,'NEWCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC02','01',9,'IMPORTO TRATTENUTA',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('AVQC02','01',10,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',11,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC02','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,'' )
,('AVQC02','01',13,'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,'' )
,('AVQC02','01',14,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',15,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',16,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',17,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',18,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',19,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',20,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',21,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVQC02','01',22,'CAUSALE STORNO LIBRO SOCI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC02','01',23,'DATA STORNO LIBRO SOCI',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC02','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,'' )
,('AVQC02','01',25,'ANNO LIBRO SOCI',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',26,'MESE LIBRO SOCI',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',27,'GIORNO LIBRO SOCI',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',28,'ANNOTAZIONE STORNO LIBRO SOCI',2,'ANNSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC02','01',29,'CAUSALE SCRITTURA LIBRO SOCI',2,'CAUSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC02','01',30,'DATA SCRITTURA LIBRO SOCI',2,'DATSCR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC02','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC02','01',32,'ANNO',3,'AAASCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',33,'MESE',3,'MMMSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',34,'GIORNO',3,'GGGSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',35,'ANNOTAZIONE SCRITTURA LIBRO SOCI',2,'ANNSCR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC02','01',36,'CAUSALE CONGUAGLIO SU LIBRO SOCI',2,'CAUCNG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC02','01',37,'DATA CONGUAGLIO SU LIBRO SOCI',2,'DATCNG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC02','01',38,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC02','01',39,'ANNO CONQUAGLIO SU LIBRO SOCI',3,'AAACNG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC02','01',40,'MESE CONQUAGLIO SU LIBRO SOCI',3,'MMMCNG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',41,'GIORNO CONQUAGLIO SU LIBRO SOCI',3,'GGGCNG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC02','01',42,'ANNOTAZIONI CONGUAGLIO SU LIBRO SOCI',2,'ANNCNG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC09','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC09','01',3,'VECCHIO VALORE QUOTA',2,'OLDVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVQC09','01',4,'NUOVO VALORE QUOTA',2,'NEWVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVQC09','01',5,'VECCHIO NUMERO QUOTE',2,'OLDQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC09','01',6,'NUOVO NUMERO QUOTE',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC09','01',7,'VECCHIO IMPORTO CAPITALE',2,'OLDCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC09','01',8,'NUOVO IMPORTO CAPITALE',2,'NEWCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC09','01',9,'IMPORTO TRATTENUTA',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('AVQC09','01',10,'CODICE CAUSALE REGISTRAZIONE 1',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',11,'DATA REGISTRAZIONE 1',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC09','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,'' )
,('AVQC09','01',13,'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,'' )
,('AVQC09','01',14,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',15,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',16,'CODICE CAUSALE REGISTRAZIONE 2',2,'CODCA1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',17,'DATA REGISTRAZIONE 2',2,'DATRE1',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC09','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,'' )
,('AVQC09','01',19,'AA REG 2',3,'AAARE1',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
('AVQC09','01',20,'MM REG 2',3,'MMMRE1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',21,'GG REG 2',3,'GGGRE1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',22,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',23,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',24,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',25,'GRUPPO SOTTOSCRIZIONE',2,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',26,'CONTO SOTTOSCRIZIONE',2,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',27,'GRUPPO CAPITALE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',28,'CONTO CAPITALE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',29,'CONTABILIZZAZIONE 1 /S',2,'FLGCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVQC09','01',30,'CONTABILIZZAZIONE 2 /S',2,'FLGCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVQC09','01',31,'CAUSALE STORNO LIBRO SOCI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC09','01',32,'DATA STORNO LIBRO SOCI',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC09','01',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC09','01',34,'ANNO LIBRO SOCI',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',35,'MESE LIBRO SOCI',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',36,'GIORNO LIBRO SOCI',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',37,'ANNOTAZIONE STORNO LIBRO SOCI',2,'ANNSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC09','01',38,'CAUSALE SCRITTURA LIBRO SOCI',2,'CAUSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC09','01',39,'DATA SCRITTURA LIBRO SOCI',2,'DATSCR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC09','01',40,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC09','01',41,'ANNO',3,'AAASCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',42,'MESE',3,'MMMSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',43,'GIORNO',3,'GGGSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',44,'ANNOTAZIONE SCRITTURA LIBRO SOCI',2,'ANNSCR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC09','01',45,'CAUSALE CONGUAGLIO SU LIBRO SOCI',2,'CAUCNG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC09','01',46,'DATA CONGUAGLIO SU LIBRO SOCI',2,'DATCNG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC09','01',47,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC09','01',48,'ANNO CONQUAGLIO SU LIBRO SOCI',3,'AAACNG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC09','01',49,'MESE CONQUAGLIO SU LIBRO SOCI',3,'MMMCNG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',50,'GIORNO CONQUAGLIO SU LIBRO SOCI',3,'GGGCNG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC09','01',51,'ANNOTAZIONI CONGUAGLIO SU LIBRO SOCI',2,'ANNCNG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC17','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVQC17','01',3,'VALORE VECCHIA QUOTA',2,'OLDQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVQC17','01',4,'VALORE NUOVA QUOTA',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVQC17','01',5,'VECCHIO NUMERO QUOTE',2,'OLDNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVQC17','01',6,'NUOVO NUMERO QUOTE',2,'NEWNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVQC17','01',7,'VECCHIO IMPORTO CAPITALE',2,'OLDCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC17','01',8,'NUOVO IMPORTO CAPITALE',2,'NEWCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AVQC17','01',9,'CAUSALE STORNO LIBRO SOCI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC17','01',10,'DATA STORNO LIBRO SOCI',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC17','01',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVQC17','01',12,'ANNO LIBRO SOCI',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC17','01',13,'MESE LIBRO SOCI',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC17','01',14,'GIORNO LIBRO SOCI',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC17','01',15,'ANNOTAZIONE STORNO LIBRO SOCI',2,'ANNSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVQC17','01',16,'CAUSALE SCRITTURA LIBRO SOCI',2,'CAUSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVQC17','01',17,'DATA SCRITTURA LIBRO SOCI',2,'DATSCR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVQC17','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,'' )
,('AVQC17','01',19,'ANNO',3,'AAASCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVQC17','01',20,'MESE',3,'MMMSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC17','01',21,'GIORNO',3,'GGGSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVQC17','01',22,'ANNOTAZIONE SCRITTURA LIBRO SOCI',2,'ANNSCR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVRETA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVRETA','01',2,'ID DOCUMENTO SU RETAIL',2,'DOC-ID',0,1,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AVRETA','01',3,'NUMERO BOLLETTA AV2000 COLLEGATA',2,'NUMBOL',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVRIMB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVRIMB','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,'' )
,('AVRIMB','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AVRIMB','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AVRIMB','01',5,'PROGRESSIVO USI FUTURI (SEMPRE 1)',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AVRIMB','01',6,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AVRIMB','01',7,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVRIMB','01',8,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVRIMB','01',9,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVRIMB','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVS115','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS115','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVS115','01',3,'PERCENTUALE VARIAZIONE SU TOT. CONF.',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVS115','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('AVS115','01',5,'ESPONE VARIAZIONE IN ESPLOSIONE BOLLETTA',2,'ESPVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVS115','01',6,'PREZZO PER SCELTA (PREVALE SU TUTTO)',2,'PRESCE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AVS115','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVS560','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS560','01',2,'CODICE STABILIMENTO VASCHE',2,'CODSTB',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVS560','01',3,'DATA ULTIMA SITUAZIONE VASCHE INSERITA',2,'DTASIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVS561','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS561','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS561','01',3,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS561','01',4,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVS561','01',5,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVS561','01',6,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVS561','01',7,'COMMERCIALIZZAZIONE FORZATA',2,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVS561','01',8,'ANNATA COMMERCIALIZZAZIONE FORZATA',2,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVS561','01',9,'GIACENZA VASCA',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AVS561','01',10,'GRADO VASCA',2,'GRDVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVS561','01',11,'FLAG VASCA IN CONTO LAVORO (S)',2,'FLAGCL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVS562','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS562','01',2,'CODICE TABELLA',2,'CODTAB',1,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVS562','01',3,'COMMERCIALIZZAZIONE FORZATA',2,'CODCOM',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVS562','01',4,'PREZZO A LITRO GRADO',2,'PRLTGR',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('AVS564','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS564','01',2,'CODICE TABELLA',2,'CODTAB',1,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVS564','01',3,'FAMIGLIA REGISTRO UNICO',2,'IDFAMI',2,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AVS564','01',4,'PREZZO A LITRO GRADO',2,'PRLTGR',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('AVS56T','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS56T','01',2,'CODICE TABELLA',2,'CODTAB',1,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVS56T','01',3,'DESCRIZIONE TABELLA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVS56T','01',4,'DESCRIZIONE SUCCINTA TABELLA',2,'DESSUC',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
('AVS56T','01',5,'DATA CALCOLO GIACENZA',2,'DTAGIA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVS56U','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVS56U','01',2,'CODICE TABELLA',2,'CODTAB',1,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVS56U','01',3,'DESCRIZIONE TABELLA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVS56U','01',4,'DESCRIZIONE SUCCINTA TABELLA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVS56U','01',5,'DATA CALCOLO GIACENZA',2,'DTAGIA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVSA05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSA05','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSA05','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('AVSA05','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSA15','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSA15','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSA15','01',3,'PERCENTUALE VARIAZIONE SU TOT. CONF.',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSA15','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,3,'S9(6)','S999V999',0,'',0,0,'' )
,('AVSA15','01',5,'ESPONE VARIAZIONE IN ESPLOSIONE BOLLETTA',2,'ESPVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSA15','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,'' )
,('AVSA17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSA17','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSA17','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSA17','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVSA56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSA56','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSA56','01',3,'VARIAZIONE AL QUINTALE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,4,0,'S99V9(4)','',0,'',0,0,'' )
,('AVSA56','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVSB15','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSB15','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSB15','01',3,'PERCENTUALE VARIAZIONE SU TOT. CONF.',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVSB15','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('AVSB15','01',5,'ESPONE VARIAZIONE IN ESPLOSIONE BOLLETTA',2,'ESPVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSB15','01',6,'PREZZO PER SCELTA (PREVALE SU TUTTO)',2,'PRESCE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AVSB15','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVSC02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC02','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSC02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVSC16','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC16','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC16','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('AVSC16','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSC27','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC27','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC27','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC27','01',4,'VARIAZIONE AL QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,3,'S9(6)','S999V999',0,'',0,0,'' )
,('AVSC27','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AVSC29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC29','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC29','01',3,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,4,'9(8)','9(4)V9(4)',0,'',0,0,'' )
,('AVSC29','01',4,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,9,0,4,'S9(8)','S9(4)V9(4)',0,'',0,0,'' )
,('AVSC32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC32','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC32','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('AVSC32','01',4,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVSC52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC52','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC52','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC52','01',4,'PERCENTUALE VARIAZIONE',2,'VARSCE',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSC52','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AVSC76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC76','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSC76','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSC76','01',4,'PERCENTUALE VARIAZIONE',2,'VARSCE',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSC76','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVSG56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSG56','01',2,'N. ACCONTO (1-9) O LIQUIDAZIONE (L)',2,'ACCLIQ',1,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSG56','01',3,'CODICE SCELTA',2,'CODSCE',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSG56','01',4,'VARIAZIONE AL QUINTALE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,4,0,'S99V9(4)','',0,'',0,0,'' )
,('AVSG56','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVSL02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL02','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSL02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVSL05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL05','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL05','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('AVSL05','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSL11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL11','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL11','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSL11','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVSL12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL12','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL12','01',3,'PENALITA'' / PREMIO A KG',2,'PENPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,4,0,'S99V9(4)','',0,'',0,0,'' )
,('AVSL15','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL15','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL15','01',3,'PERCENTUALE VARIAZIONE SU TOT. CONF.',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSL15','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,3,'S9(6)','S999V999',0,'',0,0,'' )
,('AVSL15','01',5,'ESPONE VARIAZIONE IN ESPLOSIONE BOLLETTA',2,'ESPVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSL15','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,'' )
,('AVSL17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL17','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL17','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSL17','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVSL19','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL19','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL19','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('AVSL19','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSL28','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL28','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL28','01',3,'IMPORTO VARIAZIONE (PREMIO)',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,2,5,'S9(6)V99','S9(3)V9(5)',0,'',0,0,'' )
,('AVSL28','01',4,'FILLER',2,'FILLER',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
('AVSL29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL29','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL29','01',3,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,4,'9(8)','9(4)V9(4)',0,'',0,0,'' )
,('AVSL29','01',4,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,4,'S9(7)','S999V9(4)',0,'',0,0,'' )
,('AVSL29','01',5,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSL32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL32','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL32','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('AVSL32','01',4,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVSL89','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSL89','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSL89','01',3,'PERCENTUALE RIDUZIONE QUANTITA''',2,'PRIDQT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVSL89','01',4,'IMPORTO A QUINTALE DA AGGIUNGERE',2,'IQLAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AVSL89','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVSMCN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSMCN','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,'' )
,('AVSMCN','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVSMCN','01',4,'NUMERO PORZIONE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVSMCN','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('AVSMCP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSMCP','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,'' )
,('AVSMCP','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVSMCP','01',4,'NUMERO PORZIONE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVSMCP','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('AVSO72','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSO72','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,'' )
,('AVSO72','01',3,'CODICE ARTICOLO PRINCIPALE',3,'CODART',0,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVSO72','01',4,'CODICE COLLEGATO',3,'CODCOL',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVSOF4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSOF4','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,'' )
,('AVSOF4','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,'' )
,('AVSOF4','01',4,'TIPO ROTAZIONE MENSILE',2,'TIPORM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVSOF4','01',6,'QTA SCORTA MINIMA',2,'SCOMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('AVSPV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSPV2','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSPV2','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVSPV2','01',4,'DATA INCASSO',3,'DATINC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVSPV2','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,'' )
,('AVSPV2','01',6,'ANNO',4,'AAAINC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVSPV2','01',7,'MESE',4,'MMMINC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVSPV2','01',8,'GIORNO',4,'GGGINC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVSPV2','01',9,'INCASSO CONTANTI',2,'INCCON',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AVSPV2','01',10,'INCASSO BANCOMAT/POS',2,'INCPOS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AVSPV2','01',11,'INCASSO CARTADI CREDITO',2,'INCCDC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AVSPV2','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('AVSU02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVSU02','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVSU02','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVSU02','01',4,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVSU02','01',5,'IMPORTO A QUINTALE VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVSU02','01',6,'VARIAZIONE ZONA S/N',2,'VARZON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVSU02','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('AVTC08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVTC08','01',2,'CHIAVE PER VARIETA''',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVTC08','01',3,'CODICE VARIETA'' (ATTRIBUTO PARTITA)',3,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVTC08','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVTC08','01',5,'CODICE COMMERCIALIZZAZIONE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVTC08','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('AVTP08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVTP08','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVTP08','01',3,'CODICE VARIETA'' (ATTRIBUTO PARTITA)',3,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVTP08','01',4,'TABELLA ALTRE VARIETA'' UTILIZZABILI',2,'TABCAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVTP08','01',5,'ALTRE VARIATE'' UTILIZZABILI IN ORDINE',3,'ELEVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',11,'',0,0,'' )
,('AVTP08','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AVUA78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUA78','01',2,'CODICE VITIGNO',2,'CODVIT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVUA78','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUA78','01',4,'PERCENTUALE MAGGIORAZIONE UVE DOC',2,'PERMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVUA78','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVUL60','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUL60','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUL60','01',3,'CODICE SCELTA',2,'CODSCE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVUL60','01',4,'VARIAZIONE IN PERCENTUALE',2,'VARPER',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,3,0,'S99V999','',0,'',0,0,'' )
,('AVUL60','01',5,'VARIAZIONE IN VALORE A GRADO',2,'VARVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,5,0,'S9V9(5)','',0,'',0,0,'' )
,('AVUL60','01',6,'VARIAZIONE IN VALORE A QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVUL60','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AVUL61','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUL61','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUL61','01',3,'VARIAZIONE AL KG',2,'VARIAZ',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,5,0,'S999V9(5)','',0,'',0,0,'' )
,('AVUL61','01',4,'FILELR',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVUL76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUL76','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUL76','01',3,'VARIAZIONE AL KG',2,'VARKGT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,5,0,'S99V9(5)','',0,'',0,0,'' )
,('AVUL76','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AVUL78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUL78','01',2,'CODICE VITIGNO',2,'CODVIT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVUL78','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUL78','01',4,'PERCENTUALE MAGGIORAZIONE UVE DOC',2,'PERMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVUL78','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AVUOTB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUOTB','01',2,'NUMERO MOVIMENTO VUOTI',2,'NUMMOV',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVUOTB','01',3,'NOME AUTISTA',2,'NOMAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVUOTB','01',4,'NUMERO RIMORCHIO',2,'NUMRIM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVUOTB','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,219,219,0,0,'X(219)','',0,'',0,0,'' )
,('AVUOTI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUOTI','01',2,'CHIAVE REGISTRO+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUOTI','01',3,'TIPO SOGGETTO',3,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVUOTI','01',9,'CODICE SOGGETTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVUOTI','01',10,'CODICE VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVUOTI','01',11,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVUOTI','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,'' )
,('AVUOTI','01',13,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVUOTI','01',14,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVUOTI','01',15,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVUOTI','01',16,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AVUOTI','01',17,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUOTI','01',18,'NUMERO MOVIMENTO VUOTI',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AVUOTI','01',19,'NUMERO RIGA',4,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AVUOTI','01',20,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVUOTI','01',21,'CONSEGNATI/RESI',2,'FLAGCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVUOTI','01',22,'QUANTITA'' MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,4,8,0,0,'S9(7) COMP-3','',0,'',0,0,'' )
,('AVUOTI','01',23,'CAUZIONE UNITARIA',2,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AVUOTI','01',25,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVUOTI','01',26,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AVUOTI','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AVUS60','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUS60','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUS60','01',3,'CODICE SCELTA',2,'CODSCE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVUS60','01',4,'VARIAZIONE IN PERCENTUALE',2,'VARPER',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,3,0,'S9V999','',0,'',0,0,'' )
,('AVUS60','01',5,'VARIAZIONE IN VALORE',2,'VARVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,4,0,'S99V9(4)','',0,'',0,0,'' )
,('AVUS60','01',6,'VARIAZIONE EURO AL QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('AVUS60','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AVUV02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVUV02','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVUV02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVUV02','01',4,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVVA78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVA78','01',2,'CODICE VITIGNO',2,'CODVIT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVA78','01',3,'RESA MASSIMA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVA78','01',4,'PERCENTUALE DI RIDUZIONE SE SUPERO RESA',2,'RIDRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVA78','01',5,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVVA78','01',6,'PERCENTUALE DI RIDUZIONE SE MINORE',2,'RIDGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVA78','01',7,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVVA78','01',8,'INDICE PER VARIARE CURVA TABELLA',2,'VAR001',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('AVVA78','01',9,'INDICE PER VARIARE PASSO TABELLA',2,'VAR002',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVVA78','01',10,'ACIDITA'' MEDIA',2,'ACIMED',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AVVA78','01',11,'TOLLERANZA POSITIVA',2,'TOLPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('AVVA78','01',12,'PERCENTUALE VARIAZIONE SE SOPRA TOLPOS',2,'PERPOS',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVVA78','01',13,'TOLLERANZA NEGATIVA',2,'TOLNEG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('AVVA78','01',14,'PERCENTUALE VARIAZIONE SE SOTTO TOLNEG',2,'PERNEG',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVVA78','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('AVVAAB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVAAB','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,'' )
,('AVVAAB','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,'' )
,('AVVAAB','01',4,'CODICE ATTRIBUTO ARTICOLO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVAAB','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,'' )
,('AVVAAB','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,'' )
,('AVVAAB','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AVVL78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVL78','01',2,'CODICE VITIGNO',2,'CODVIT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVL78','01',3,'RESA MASSIMA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVL78','01',4,'PERCENTUALE DI RIDUZIONE SE SUPERO RESA',2,'RIDRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVL78','01',5,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVVL78','01',6,'PERCENTUALE DI RIDUZIONE SE MINORE',2,'RIDGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVL78','01',7,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVVL78','01',8,'INDICE PER VARIARE CURVA TABELLA',2,'VAR001',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('AVVL78','01',9,'INDICE PER VARIARE PASSO TABELLA',2,'VAR002',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVVL78','01',10,'ACIDITA'' MEDIA',2,'ACIMED',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AVVL78','01',11,'TOLLERANZA POSITIVA',2,'TOLPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('AVVL78','01',12,'PERCENTUALE VARIAZIONE SE SOPRA TOLPOS',2,'PERPOS',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVVL78','01',13,'TOLLERANZA NEGATIVA',2,'TOLNEG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('AVVL78','01',14,'PERCENTUALE VARIAZIONE SE SOTTO TOLNEG',2,'PERNEG',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AVVL78','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('AVVNAB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVNAB','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,'' )
,('AVVNAB','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,'' )
,('AVVNAB','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,'' )
,('AVVNAB','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,'' )
,('AVVNAB','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,'' )
,('AVVNAB','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVVQ02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVQ02','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVVQ02','01',3,'VALORE QUOTA',2,'VALQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,2,'9(6)','9(4)V99',0,'',0,0,'' )
,('AVVQ02','01',4,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVVQ02','01',5,'IMPORTO CALCOLATO',2,'IMPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVVQ02','01',6,'IMPORTO ARROTONDATO',2,'IMPARR',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVVQ02','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,'' )
,('AVVQ02','01',8,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',9,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',10,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVVQ02','01',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVQ02','01',12,'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,'' )
,('AVVQ02','01',13,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ02','01',14,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ02','01',15,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',16,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',17,'GRUPPO CAPITALE SOCIALE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',18,'CONTO CAPITALE SOCIALE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',19,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVVQ02','01',20,'CAUSALE LIBRO SOCI',2,'CAULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVQ02','01',21,'DATA LIBRO SOCI',2,'DATLIB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVVQ02','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVQ02','01',23,'ANNO LIBRO SOCI',3,'AAALIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ02','01',24,'MESE LIBRO SOCI',3,'MMMLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ02','01',25,'GIORNO LIBRO SOCI',3,'GGGLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ02','01',26,'ANNOTAZIONE LIBRO SOCI',2,'ANNLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVVQ02','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVVQ05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVQ05','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVVQ05','01',3,'VALORE QUOTA',2,'VALQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,2,'9(6)','9(4)V99',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVVQ05','01',4,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVVQ05','01',5,'IMPORTO CALCOLATO',2,'IMPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVVQ05','01',6,'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,'' )
,('AVVQ05','01',7,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',8,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVVQ05','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,'' )
,('AVVQ05','01',11,'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,'' )
,('AVVQ05','01',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ05','01',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ05','01',14,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',15,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',16,'GRUPPO CAPITALE SOCIALE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',17,'CONTO CAPITALE SOCIALE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',18,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVVQ05','01',19,'CAUSALE LIBRO SOCI',2,'CAULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVVQ05','01',20,'DATA LIBRO SOCI',2,'DATLIB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVVQ05','01',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVQ05','01',22,'ANNO LIBRO SOCI',3,'AAALIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ05','01',23,'MESE LIBRO SOCI',3,'MMMLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ05','01',24,'GIORNO LIBRO SOCI',3,'GGGLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ05','01',25,'ANNOTAZIONE LIBRO SOCI',2,'ANNLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AVVQ05','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AVVQ09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVQ09','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVVQ09','01',3,'VALORE VECCHIA QUOTA',2,'OLDQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,2,'9(6)','9(4)V99',0,'',0,0,'' )
,('AVVQ09','01',4,'VALORE NUOVA QUOTA',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,2,'9(6)','9(4)V99',0,'',0,0,'' )
,('AVVQ09','01',5,'VECCHIO VALORE CAPITALE',2,'OLDIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVVQ09','01',6,'NUOVO IMPORTO CAPITALE',2,'NEWIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVVQ09','01',7,'IMPORTO DIFFERENZA CAPITALE',2,'DIFIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AVVQ09','01',8,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ09','01',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVVQ09','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,'' )
,('AVVQ09','01',11,'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,'' )
,('AVVQ09','01',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ09','01',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVVQ09','01',14,'GRUPPO CAPITALE SOCIALE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ09','01',15,'CONTO CAPITALE SOCIALE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ09','01',16,'GRUPPO SOTTOSCRIZIONE',2,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ09','01',17,'CONTO SOTTOSCRIZIONE',2,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVVQ09','01',18,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVVQ09','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AVVVAB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVVVAB','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,'' )
,('AVVVAB','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,'' )
,('AVVVAB','01',4,'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,'' )
,('AVVVAB','01',5,'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,'' )
,('AVVVAB','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AVZA02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZA02','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZA02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVZA02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVZA05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZA05','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZA05','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVZA05','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,'' )
,('AVZC02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZC02','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZC02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVZC02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVZC11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZC11','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZC11','01',3,'PUNTI DI INCREMENTO',2,'PUNINC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AVZC11','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,'' )
,('AVZL02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZL02','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZL02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVZL02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVZL05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZL05','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZL05','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVZL05','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,'' )
,('AVZL11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVZL11','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVZL11','01',3,'VARIAZIONE PUNTI IN PERCENTUALE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVZL11','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AXMLCE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLCE','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,'' )
,('AXMLCE','01',3,'CHIAVE DETTAGLIO R1/S1/CE..',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLCE','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLCE','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLCE','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLCE','01',9,'CHIAVE DETTAGLIO CERNITE',3,'KEY-CE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLCE','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLCE','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLCE','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLCE','01',13,'TIPO COLTIVAZIONE',4,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLCE','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLCE','01',15,'CATEGORIA CERNITA',4,'CERCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLCE','01',16,'VINO CERNITA',4,'CERVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLCE','01',17,'TIPO VINO CERNITA',4,'CERTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLCE','01',18,'TIPO COLTIVAZIONE CERNITA',4,'CERCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLCE','01',19,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLCE','01',20,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLCV','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,'' )
,('AXMLCV','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,'' )
,('AXMLCV','01',4,'CHIAVE DETTAGLIO CERNITE VIGNETI',3,'KEY-CV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLCV','01',5,'CODICE COMUNE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLCV','01',6,'SEZIONE',4,'SEZION',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
('AXMLCV','01',7,'FOGLIO',4,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLCV','01',8,'PARTICELLA',4,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLCV','01',9,'SUB-PARTICELLA',4,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLCV','01',10,'ID UNAR',4,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMLCV','01',11,'UVA',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLCV','01',12,'CODICE SCELTA',4,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AXMLCV','01',13,'UVA CERNITA',4,'UVACER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLCV','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLCV','01',15,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLD1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLD1','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,'' )
,('AXMLD1','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLD1','01',4,'CUAA DESTINAZIONE',3,'CUADES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLD1','01',5,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLD1','01',6,'TIPOLOGIA DESTINAZIONE(TscoDestinazione)',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLD1','01',7,'CODICE PROVINCIA ISTAT',2,'CODPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMLD1','01',8,'CODICE COMUNE ISTAT',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMLD1','01',9,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AXMLD1','01',10,'RAGIONE SOCIALE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLD1','01',11,'RAGIONE SOCIALE DESTINATARIO',2,'DESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AXMLD1','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('AXMLD2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLD2','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,'' )
,('AXMLD2','01',3,'CHIAVE DI AXMLD1',3,'KEY-D1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLD2','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLD2','01',5,'CUAA DESTINAZIONE',4,'CUADES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLD2','01',6,'FLAG RECORD IMPORTATO (0/1)',4,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLD2','01',7,'TIPOLOGIA (TscoTipoDestinazione)',3,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLD2','01',8,'CODICE CATEGORIA (DOC,IGT,ECC)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLD2','01',9,'CODICE VINO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLD2','01',10,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLD2','01',11,'TIPO COLTIVAZIONE',3,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLD2','01',12,'ID ZONA SPECIALE (GRANDINE)',3,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLD2','01',13,'FLAG SUPERO (S/N)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLD2','01',14,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMLD2','01',15,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLD3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLD3','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,'' )
,('AXMLD3','01',3,'CHIAVE AXMLD2',3,'KEY-D2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLD3','01',4,'CHIAVE AXMLD1',4,'KEY-D1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLD3','01',5,'CUAA DICHIARANTE',5,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLD3','01',6,'CUAA DESTINAZIONE',5,'CUADES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLD3','01',7,'FLAG RECORD IMPORTATO (0/1)',5,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLD3','01',8,'TIPOLOGIA (TscoTipoDestinazione)',4,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLD3','01',9,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLD3','01',10,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLD3','01',11,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLD3','01',12,'TIPO COLTIVAZIONE',4,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLD3','01',13,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLD3','01',14,'FLAG SUPERO (S/N)',4,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLD3','01',15,'CATEGORIA CERNITA',3,'CERCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLD3','01',16,'VINO CERNITA',3,'CERVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLD3','01',17,'TIPO VINO CERNITA',3,'CERTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLD3','01',18,'TIPO COLTIVAZIONE CERNITA',3,'CERCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLD3','01',19,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLDE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLDE','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,'' )
,('AXMLDE','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLDE','01',4,'CUAA DESTINAZIONE',3,'CUADES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLDE','01',5,'TIPOLOGIA DELLA DESTINAZIONE',3,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLDE','01',6,'CODICE CATEGORIA (DOC,IGT,ECC)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLDE','01',7,'CODICE VINO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLDE','01',8,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AXMLDE','01',9,'ID ZONA SPECIALE (GRANDINE)',3,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLDE','01',10,'FLAG SUPERO (S/N)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLDE','01',11,'TIPO PRODOTTO DESTINAZIONE',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLDE','01',12,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLDE','01',13,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMLDE','01',14,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLDE','01',15,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLDE','01',16,'DESCRIZIONE DESTINAZIONE',2,'DESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AXMLDE','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('AXMLDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLDI','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,'' )
,('AXMLDI','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLDI','01',4,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLDI','01',5,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLDI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('AXMLF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLF1','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,'' )
,('AXMLF1','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLF1','01',4,'CUAA FORNITORE',3,'CUAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLF1','01',5,'TIPOLOGIA DEL FORNITORE (TscoFornitore)',3,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLF1','01',6,'CODICE ISTAT PROVINCIA INDIRIZZO',2,'CODPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMLF1','01',7,'CODICE ISTAT COMUNE INDIRIZZO',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMLF1','01',8,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLF1','01',9,'DESCRIZIONE FORNITORE',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLF1','01',10,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AXMLF1','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AXMLF2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLF2','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,'' )
,('AXMLF2','01',3,'CHIAVE AXMLF1',3,'KEY-F1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLF2','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLF2','01',5,'CUAA FORNITORE',4,'CUAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLF2','01',6,'TIPOLOGIA DEL FORNITORE (TscoFornitore)',4,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLF2','01',7,'CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLF2','01',8,'DENOMINAZIONE',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLF2','01',9,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AXMLF2','01',10,'FLAG SUPERO (S/N)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLF2','01',11,'CATEGORIA CERNITA',3,'CERCAT',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
('AXMLF2','01',12,'DENOMINAZIONE CERNITA',3,'CERVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLF2','01',13,'TIPO VINO CERNITA',3,'CERTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AXMLF2','01',14,'TIPO PRODOTTO (TscoTipoProdottoForn) = 1',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLF2','01',15,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMLF2','01',16,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLF2','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('AXMLF3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLF3','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,'' )
,('AXMLF3','01',3,'CHIAVE AXMLF1',3,'KEY-F1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLF3','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLF3','01',5,'CUAA FORNITORE',4,'CUAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLF3','01',6,'TIPOLOGIA DEL FORNITORE (TscoFornitore)',4,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLF3','01',7,'CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLF3','01',8,'DENOMINAZIONE',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLF3','01',9,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLF3','01',10,'TIPO COLTIVAZIONE',3,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLF3','01',11,'FLAG SUPERO (S/N)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLF3','01',12,'CATEGORIA CERNITA',3,'CERCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLF3','01',13,'DENOMINAZIONE CERNITA',3,'CERVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLF3','01',14,'TIPO VINO CERNITA',3,'CERTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLF3','01',15,'TIPO COLTIVAZIONE CERNITA',3,'CERCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLF3','01',16,'TIPO PRODOTTO (TscoTipoProdottoForn) = 1',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLF3','01',17,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMLF3','01',18,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLFO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLFO','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,'' )
,('AXMLFO','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLFO','01',4,'CUAA FORNITORE',3,'CUAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLFO','01',5,'TIPOLOGIA DEL FORNITORE',3,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLFO','01',6,'CODICE ISTAT PROVINCIA FORNITURA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMLFO','01',7,'CODICE CATEGORIA (DOC,IGT,ECC)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLFO','01',8,'CODICE VINO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLFO','01',9,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AXMLFO','01',10,'TIPO PRODOTTO DESTINAZIONE',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLFO','01',11,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMLFO','01',12,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLFO','01',13,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLFO','01',14,'DESCRIZIONE FORNITORE',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLFO','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AXMLR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLR1','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,'' )
,('AXMLR1','01',3,'CHIAVE DETTAGLIO R1/S1...',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLR1','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLR1','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLR1','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLR1','01',9,'CHIAVE DETTAGLIO RA/SA...',3,'KEY-RA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLR1','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLR1','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLR1','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLR1','01',13,'TIPO COLTIVAZIONE',4,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLR1','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLR1','01',15,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLR1','01',16,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLR1','01',17,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLR1','01',18,'DESCRIZIONE SOCIO (SE E'' UN SOCIO)',2,'DESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLR1','01',19,'QUANTITA'' STOCCAGGIO',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLRA','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,'' )
,('AXMLRA','01',3,'CHIAVE DETTAGLIO R1/S1...',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLRA','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLRA','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLRA','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLRA','01',9,'CHIAVE DETTAGLIO RA/SA....',3,'KEY-RA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLRA','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLRA','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLRA','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLRA','01',13,'TIPO COLTIVAZIONE',4,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLRA','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLRA','01',15,'CODICE NAZIONALE COMUNE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLRA','01',16,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLRA','01',17,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLRA','01',18,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLRA','01',19,'UNAR',3,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMLRA','01',20,'ID MENZIONE PER ADESSO VALE SEMPRE ZERO',3,'MENZIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLRA','01',21,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLRA','01',22,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMLRA','01',23,'QUANTITA'' PRODOTTA',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLRA','01',24,'CODICE COMUNE (ISTAT) AD USO INTERNO CDM',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLRA','01',25,'SEZIONE CENSUARIA AD USO INTERNO CDM',2,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLRA','01',26,'QUANTITA'' STACCAGGIO (DAL 2020)',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLS1','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,'' )
,('AXMLS1','01',3,'CHIAVE DETTAGLIO R1/S1',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLS1','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLS1','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLS1','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLS1','01',9,'CHIAVE DETTAGLIO SU',3,'KEY-SU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLS1','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLS1','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLS1','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLS1','01',13,'TIPO COLTIVAZIONE',4,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLS1','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLS1','01',15,'CATEGORIA SUPERI',4,'CATSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLS1','01',16,'CODICE VINO SUPERO',4,'VINSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLS1','01',17,'TIPO VINO SUPERO',4,'TIPSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLS1','01',18,'TIPO COLTIVAZIONE SUPERO',4,'COLSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLS1','01',19,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLS1','01',20,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMLS1','01',21,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLS1','01',22,'DESCRIZIONE SOCIO (SE E'' UN SOCIO)',2,'DESSOC',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
('AXMLSU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLSU','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,'' )
,('AXMLSU','01',3,'CHIAVE DETTAGLIO R1/S1....',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLSU','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLSU','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLSU','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLSU','01',9,'CHIAVE DETTAGLIO SU',3,'KEY-SU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLSU','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLSU','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLSU','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLSU','01',13,'TIPO COLTIVAZIONE',4,'COLVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLSU','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMLSU','01',15,'CATEGORIA SUPERI',4,'CATSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMLSU','01',16,'CODICE VINO SUPERO',4,'VINSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLSU','01',17,'TIPO VINO SUPERO',4,'TIPSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMLSU','01',18,'TIPO COLTIVAZIONE SUPERO',4,'COLSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLSU','01',19,'CODICE NAZIONALE COMUNE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLSU','01',20,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLSU','01',21,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLSU','01',22,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLSU','01',23,'UNAR',3,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMLSU','01',24,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLUV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLUV','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,'' )
,('AXMLUV','01',3,'CHIAVE RECORDS DETTAGLIO',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMLUV','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLUV','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLUV','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMLUV','01',9,'CODICE NAZIONALE COMUNE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLUV','01',10,'SEZIONE CENSUARIA',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMLUV','01',11,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMLUV','01',12,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMLUV','01',13,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMLUV','01',14,'UNAR',3,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMLUV','01',15,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMLUV','01',16,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLUV','01',17,'DESCRIZIONE SOCIO (SE E'' UN SOCIO)',2,'DESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMLUV','01',18,'DATA DI RIFERIMENTO CONSISTENZA',2,'DTARIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AXMLUV','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AXMTDE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTDE','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,'' )
,('AXMTDE','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTDE','01',4,'CUAA DESTINAZIONE',3,'CUADES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTDE','01',5,'TIPOLOGIA DELLA DESTINAZIONE',3,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTDE','01',6,'CODICE CATEGORIA (DOC,IGT,ECC)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTDE','01',7,'CODICE VINO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTDE','01',8,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTDE','01',9,'ID ZONA SPECIALE (GRANDINE)',3,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTDE','01',10,'FLAG SUPERO (S/N)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMTDE','01',11,'TIPO PRODOTTO DESTINAZIONE',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTDE','01',12,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTDE','01',13,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMTDE','01',14,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMTDE','01',15,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTDE','01',16,'DESCRIZIONE DESTINAZIONE',2,'DESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AXMTDE','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('AXMTDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTDI','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,'' )
,('AXMTDI','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTDI','01',4,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTDI','01',5,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTDI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('AXMTFO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTFO','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,'' )
,('AXMTFO','01',3,'CUAA DICHIARANTE',3,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTFO','01',4,'CUAA FORNITORE',3,'CUAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTFO','01',5,'TIPOLOGIA FORNITURA',3,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTFO','01',6,'TIPO FORNITORE',3,'TIPFRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTFO','01',7,'CODICE ISTAT PROVINCIA FORNITURA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMTFO','01',8,'CODICE CATEGORIA (DOC,IGT,ECC)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTFO','01',9,'CODICE VINO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTFO','01',10,'TIPO VINO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTFO','01',11,'TIPO PRODOTTO DESTINAZIONE',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTFO','01',12,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMTFO','01',13,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMTFO','01',14,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTFO','01',15,'DESCRIZIONE FORNITORE',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTFO','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AXMTR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTR1','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,'' )
,('AXMTR1','01',3,'CHIAVE DETTAGLIO R1/S1...',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTR1','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTR1','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTR1','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTR1','01',9,'CHIAVE DETTAGLIO RA/SA...',3,'KEY-RA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTR1','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTR1','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTR1','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTR1','01',13,'CODICE VARIETA''',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMTR1','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTR1','01',15,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTR1','01',16,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMTR1','01',17,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTR1','01',18,'DESCRIZIONE SOCIO (SE E'' UN SOCIO)',2,'DESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTR1','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AXMTRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTRA','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,'' )
,('AXMTRA','01',3,'CHIAVE DETTAGLIO R1/S1...',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTRA','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTRA','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AXMTRA','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTRA','01',9,'CHIAVE DETTAGLIO RA/SA....',3,'KEY-RA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTRA','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTRA','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTRA','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTRA','01',13,'CODICE VARIETA',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMTRA','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTRA','01',15,'CODICE NAZIONALE COMUNE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMTRA','01',16,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTRA','01',17,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMTRA','01',18,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTRA','01',19,'UNAR',3,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMTRA','01',20,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTRA','01',21,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AXMTRA','01',22,'QUANTITA'' PRODOTTA',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMTRA','01',23,'CODICE COMUNE (ISTAT) AD USO INTERNO CDM',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTRA','01',24,'SEZIONE CENSUARIA AD USO INTERNO CDM',2,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMTRA','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTS1','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,'' )
,('AXMTS1','01',3,'CHIAVE DETTAGLIO R1/S1',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTS1','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTS1','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTS1','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTS1','01',9,'CHIAVE DETTAGLIO SU',3,'KEY-SU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTS1','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMTS1','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTS1','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTS1','01',13,'CODICE VARIETA''',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('AXMTS1','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTS1','01',15,'CATEGORIA SUPERI',4,'CATSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMTS1','01',16,'CODICE VINO SUPERO',4,'VINSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTS1','01',17,'TIPO VINO SUPERO',4,'TIPSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTS1','01',18,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTS1','01',19,'QUINTALI PRODOTTI',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AXMTS1','01',20,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTS1','01',21,'DESCRIZIONE SOCIO (SE E'' UN SOCIO)',2,'DESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTS1','01',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTSU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTSU','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,'' )
,('AXMTSU','01',3,'CHIAVE DETTAGLIO R1/S1....',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTSU','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTSU','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTSU','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTSU','01',9,'CHIAVE DETTAGLIO SU',3,'KEY-SU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTSU','01',10,'CODICE CATEGORIA (DOC,IGT,ECC)',4,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMTSU','01',11,'CODICE VINO',4,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTSU','01',12,'TIPO VINO',4,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTSU','01',13,'CODICE VARIETA''',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AXMTSU','01',14,'ID ZONA SPECIALE (GRANDINE)',4,'IDZONA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AXMTSU','01',15,'CATEGORIA SUPERI',4,'CATSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AXMTSU','01',16,'CODICE VINO SUPERO',4,'VINSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AXMTSU','01',17,'TIPO VINO SUPERO',4,'TIPSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AXMTSU','01',18,'CODICE NAZIONALE COMUNE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTSU','01',19,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTSU','01',20,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMTSU','01',21,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTSU','01',22,'UNAR',3,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMTSU','01',23,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTSU','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AXMTUV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTUV','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,'' )
,('AXMTUV','01',3,'CHIAVE RECORDS DETTAGLIO',3,'KEY-R1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AXMTUV','01',4,'CUAA DICHIARANTE',4,'CUADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTUV','01',5,'TIPO SOGGETTO',4,'FLGSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTUV','01',8,'CUAA SOCIO (SE E'' UN SOCIO!)',4,'CUASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AXMTUV','01',9,'CODICE NAZIONALE COMUNE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTUV','01',10,'SEZIONE CENSUARIA',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AXMTUV','01',11,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AXMTUV','01',12,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AXMTUV','01',13,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AXMTUV','01',14,'UNAR',3,'IDUNAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AXMTUV','01',15,'FLAG RECORD IMPORTATO (0/1)',3,'FLGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AXMTUV','01',16,'DESCRIZIONE DICHIARANTE',2,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTUV','01',17,'DESCRIZIONE SOCIO (SE E'' UN SOCIO)',2,'DESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AXMTUV','01',18,'DATA DI RIFERIMENTO CONSISTENZA',2,'DTARIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AXMTUV','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AZDAAB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZDAAB','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,'' )
,('AZDAAB','01',3,'CODICE ELABORAZIONE BUDGET',3,'PROBUD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZDAAB','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,'' )
,('AZDAAB','01',5,'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,'' )
,('AZDAAB','01',6,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZDAAB','01',7,'VARIAZIONE IN QUANTITA''',2,'DIFQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('AZDAAB','01',8,'VARIAZIONE IN PERCENTUALE',2,'DIFPER',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AZDAAB','01',9,'ANNATA PER VALORIZZAZIONE',2,'ANNVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZDAAB','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AZOC02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZOC02','01',2,'CODICE ZONA CONSIGLIO',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AZOC02','01',3,'TABELLA ZONE',2,'TABCLA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZOC02','01',4,'CODICE ZONA CATASTO',3,'CODCLA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',10,'',0,0,'' )
,('AZOC02','01',5,'TABELLA COMUNI',2,'TABCOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZOC02','01',6,'CODICE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',100,'',0,0,'' )
,('AZOC02','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AZON08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZON08','01',2,'PROGRESSIVO SEQUENZA',2,'PROGRE',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZON08','01',3,'CODICE ZONA',2,'CODZON',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AZON08','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AZONE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZONE1','01',2,'CODICE ZONA CONSIGLIO',2,'CODZON',1,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
('AZONE1','01',3,'CODICE COMUNE',2,'CODCOM',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AZONE1','01',4,'FOGLIO (ALLINEAMENTO DX)',2,'FOGLIO',3,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AZONE1','01',5,'PARTICELLA (SPAZI PER RECORD FLAG)',2,'PARTIC',4,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AZONE1','01',6,'FLAG TUTTE/NESSUNA(SOLO RECORD PARTIC= )',2,'FTUTTE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AZONE1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('AZONEC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZONEC','01',2,'CODICE ZONA CONSIGLIO',2,'CODZON',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AZONEC','01',3,'CODICE COMUNE',2,'CODCOM',2,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AZONEC','01',4,'FLAG TUTTI/NESSUNO',2,'FTUTTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AZONEC','01',7,'FOGLIO (ALLINEAMENTO DX)',2,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',50,'',0,0,'' )
,('AZONEC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AZPR08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZPR08','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,'' )
,('AZPR08','01',3,'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,'' )
,('AZPR08','01',4,'PERCENTUALE',3,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AZPR08','01',5,'RESA',3,'RESAVL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZPR08','01',6,'PENALE',2,'PENALE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AZPR08','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AZUCAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCAR','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,'' )
,('AZUCAR','01',3,'CODICE PRODOTTO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCAR','01',4,'ARTICOLO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AZUCAR','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('AZUCPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCPR','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,'' )
,('AZUCPR','01',3,'CODICE PRODOTTO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCPR','01',4,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AZUCPR','01',5,'SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AZUCPR','01',6,'TIPO SOSTANZA ZUCCHERINA REG.TELEMATICO',2,'TIPSOZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AZUCPR','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AZUCRG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCRG','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,'' )
,('AZUCRG','01',3,'CODICE REGISTRO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCRG','01',4,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AZUCRG','01',5,'SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AZUCRG','01',6,'titolo bollato',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AZUCRG','01',7,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AZUCRG','01',8,'ULTIMA SEGNALAZIONE NO TEL DA X GG',2,'ULTGGT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AZUCRG','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('AZUCSA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCSA','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,'' )
,('AZUCSA','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,'' )
,('AZUCSA','01',4,'CODICE PRODOTTO',3,'CODZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCSA','01',5,'PROGRESSIVO CARICHI',2,'PRGCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('AZUCSA','01',6,'PROGRESSIVO SCARICHI',2,'PRGSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('AZUCSA','01',7,'TOTALE CARICHI USATO IN STAMPA REGISTRO',2,'MOVCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('AZUCSA','01',8,'TOTALE SCARICHI USATO IN STAMPA REGISTRO',2,'MOVSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('AZUCSA','01',9,'CHIAVE ULTIMO MOVIMENTO PER RIPARTENZA',2,'RIPKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCSA','01',10,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AZUCSA','01',11,'NUMERO MOVIMENTO',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AZUCSA','01',12,'NUMERO RIGA MOVIMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCSA','01',13,'FLAG MOVIMENTATTO NEL PERIODO (*/ )',2,'FLGMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AZUCSA','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('AZUCUS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCUS','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,'' )
,('AZUCUS','01',3,'CODICE REGISTRO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCUS','01',4,'DATA ULTIMA STAMPA',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AZUCUS','01',5,'PROGRESSIVO STAMPA DEFINITIVA RIPARTENZA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AZUCUS','01',6,'ULTIMO NUMERO RIGA STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AZUCUS','01',7,'DATA PER RIPARTENZA',2,'DTARIP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AZUCUS','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,132,132,0,0,'X(132)','',0,'',0,0,'' )
,('AZUCUT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUCUT','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,'' )
,('AZUCUT','01',3,'CODICE REGISTRO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZUCUT','01',4,'DATA ULTIMA TELEMATIZZAZIONE',2,'DTATEL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AZUJSN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUJSN','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,'' )
,('AZUJSN','01',3,'PROGRESSIVO FILE JSON - VEDI AZULOG',3,'FLJSON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AZUJSN','01',4,'PERCORSO COMPLETO FILE CREATO',2,'PERFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AZULOG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZULOG','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,'' )
,('AZULOG','01',3,'NUMERO PROGRESSIVO LOG',3,'NUMLOG',0,6,5,3,4,5,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AZULOG','01',4,'CODICE REGISTRO ZUCCHERI',2,'CODREG',0,1,1,1,1,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZULOG','01',5,'DATA LETTURA IN TELEMATIZZAZIONE',2,'DATTEL',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AZULOG','01',6,'ORA LETTURA IN TELEMATIZZAZIONE',2,'ORATEL',0,5,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AZULOG','01',7,'STATO',2,'FLGSTA',0,0,2,0,0,1,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AZULOG','01',16,'METODO',2,'METODO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AZULOG','01',17,'INSERIMENTO/AGGIORNAMENTO (I/A)',2,'FLGMOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AZULOG','01',18,'TIPO RIFERIMENTO',2,'TIPRIF',0,2,3,0,0,3,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AZULOG','01',22,'CODICE DI RIFERIMENTO',2,'NUMRIF',0,3,4,0,0,4,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AZULOG','01',23,'RIDEFINIZIONE RIFERIMENTO CLIENTE',2,'CLIRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZULOG','01',24,'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,'' )
,('AZULOG','01',25,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AZULOG','01',26,'RIDEFINIZIONE RIFERIMENTO FORNITORE',2,'FORRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZULOG','01',27,'CODICE FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AZULOG','01',28,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AZULOG','01',29,'RIDEFINIZIONE RIFERIMENTO MAGAZZINO',2,'MAGRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZULOG','01',30,'NUMERO MOVIMENTO DI MAGAZZINO',3,'NUMMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AZULOG','01',31,'RIGA MOVIMENTO DI MAGAZZINO',3,'RIGMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AZULOG','01',32,'DATA MOVIMENTO TELEMATIZZATA',2,'DTAMOV',0,0,0,0,2,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AZULOG','01',33,'PROGRESSIVO OPERAZIONE GG TELEMATIZZATA',2,'PROPGG',0,0,0,0,3,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AZULOG','01',34,'PROGRESSIVO INVIO',2,'PROINV',0,0,0,2,0,2,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AZULOG','01',35,'ID TRASMISSIONE RICEVUTO DA MIPAAF',2,'IDTRAS',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AZULOG','01',36,'ERROR LEVEL RESTITUITO DA SCRIPT',2,'ERLSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AZULOG','01',37,'CODICE ERRORE FORMALE',2,'CODERF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AZULOG','01',38,'DESCRIZIONE ERRORE FORMALE',2,'DESERF',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('AZULOG','01',39,'CODICE ERRORE CTR ASINCRONO',2,'CODERA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AZULOG','01',40,'DESCRIZIONE ERRORE CTR ASINCRONO',2,'DESERA',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('AZUPAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUPAT','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AZUPAT','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AZUPAT','01',4,'CUAA OPERATORE ISCRITTO AL SIAN',2,'CUAAOP',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AZUPAT','01',5,'UTENTE SIAN',2,'UTSIAN',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AZUPAT','01',6,'PASSWORD SIAN',2,'PWSIAN',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AZUPAT','01',7,'TELEMATIZZARE MOVIMENTI DAL',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AZUPAT','01',8,'SERVER SMTP',2,'SESMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AZUPAT','01',9,'UTENTE SMTP',2,'USSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AZUPAT','01',10,'PASSWORD SMTP',2,'PWSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AZUPAT','01',11,'MITTENTE MAIL',2,'DAMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AZUPAT','01',12,'DESTINATARI MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',5,'',0,0,'' )
,('AZUPAT','01',13,'ORE X SEGNALAZIONE INVII NON PROCESSATI',2,'ORESEG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AZUPAT','01',14,'INTERVALLO VERIFICVA ESITO INVII',2,'MINDEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AZUPAT','01',15,'GG DOPO I QULI SEGNALARE NO TELEMATIZZ.',2,'GGTSEG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AZUPRT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AZUPRT','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,'' )
,('AZUPRT','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AZUPRT','01',4,'ULTIMO INVIO CREATO',2,'ULTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AZUPRT','01',5,'ULTIMO RECORD LOG CREATO',2,'ULTLOG',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BANFO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BANFO1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BANFO1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BANFO1','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BANFO1','01',5,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,1,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('BANFO1','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BANFO1','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BANFO1','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BANFO1','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BANFO1','01',10,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('BANFO1','01',11,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BANFO1','01',12,'ALLEGATO S/N',2,'SINOAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BANFO1','01',13,'DOGANA (27/02/2012 NON PIU'' USATO)',2,'DOGANA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BANFO1','01',14,'CODICE GRUPPO PIANO DEI CONTI',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BANFO1','01',15,'CODICE CONTO PIANO DEI CONTI',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BANFO1','01',16,'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,'' )
,('BANFO1','01',17,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BANFO1','01',18,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BANFO1','01',19,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BANFO1','01',20,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BANFO1','01',21,'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,'' )
,('BANFO1','01',22,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BANFO1','01',23,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BANFO1','01',24,'SCONTI COMMERCIALI',2,'CODSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BANFO1','01',25,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BANFO1','01',26,'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,'' )
,('BANFO1','01',27,'COGNOME FORNITORE',2,'COGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BANFO1','01',28,'NOME FORNITORE',2,'NOMFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BANFO1','01',29,'GRUPPO CONTROPARTITA CONTABILE 1',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BANFO1','01',30,'CONTO CONTROPARTITA CONTABILE 1',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BANFO1','01',31,'SOTTOCONTO CONTROPARTITA CONTABILE 1',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BANFO1','01',32,'NOTE ESTRATTO CONTO',2,'NOTEES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BANFO1','01',33,'NUMERO CONTO CORRENTE PRIMI 11 CARATTERI',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('BANFO1','01',34,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('BANFO1','01',35,'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,'' )
,('BANFO1','01',36,'SECONDO CODICE IVA',2,'CODIV2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BANFO1','01',37,'TERZO CODICE IVA',2,'CODIV3',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BANFO1','01',38,'FORNITORE OBSOLETO  /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BANFO1','01',39,'DODICESIMO CARATTERE N. C/C',2,'NUMCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X(1)','',0,'',0,0,'' )
,('BANFO1','01',40,'TIME STAMP ULTIMA MOD.REG.ZUCCHERI TEL',2,'TISZUC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BANFO1','01',41,'DATA ULTIMA MODIFICA REG.ZUCCHERI TEL.',3,'DATZUC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BANFO1','01',42,'ORA ULTIMA MODIFICA REG.ZUCCHERI TEL.',3,'ORAZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BANFO1','01',43,'TIME STAMP ULTIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BANFO1','01',44,'DATA ULTIMA MODIFICA REG.UNICO TEL.',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BANFO1','01',45,'ORA ULTIMA MODIFICA REG.UNICO TEL.',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BANFO1','01',46,'USERE C.F. RAPPR. X SPESOMETRO /S',2,'CFISPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTAL','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,'' )
,('BARTAL','01',3,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BARTAL','01',4,'CODICE ALYANTE',2,'CODALY',0,1,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('BARTAL','01',5,'FLAG MERCATO ALYANTE (OBSOLETO)',2,'FMEALY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',6,'CODICE MERCATO ALYANTE (OBSOLETO)',2,'MERALY',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BARTAL','01',7,'DESCRIZIONE ALYANTE',2,'DESALY',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('BARTAL','01',8,'DESCRIZIONE BOLLE ALYANTE',2,'DBOALY',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('BARTAL','01',9,'UNITA'' DI MISURA ALYANTE',2,'UDMALY',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BARTAL','01',10,'PROVENIENZA ALYANTE (OBSOLETO)',2,'PROALY',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',11,'TIPO PRODOTTO ALYANTE (OBSOLETO)',2,'TIPALY',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',12,'FLAG VARIANTE ANNATA 0/1',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',13,'CODICE VARIANTE ANNATA',2,'CODANN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',14,'DEFAULT VARIANTE ANNATA',2,'DEFANN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',15,'FLAG VARIANTE ALVEARE 0/1',2,'FLGALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',16,'CODICE VARIANTE ALVEARE',2,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',17,'DEFAULT VARIANTE ALVEARE',2,'DEFALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',18,'FLAG VARIANTE STRATO 0/1',2,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',19,'CODICE VARIANTE STRATO',2,'CODSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',20,'DEFAULT VARIANTE STRATO',2,'DEFSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',21,'FLAG VARIANTE PALLET 0/1',2,'FLGPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTAL','01',22,'CODICE VARIANTE PALLET',2,'CODPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',23,'DEFAULT VARIANTE PALLET',2,'DEFPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',24,'TIPO PROVENIENZA PRODOTTO',2,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTAL','01',25,'PROVENIENZA PRODOTTO',2,'PROPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BARTI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTI1','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTI1','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BARTI1','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTI1','01',5,'CODICE',4,'CODICE',0,0,2,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BARTI1','01',6,'CODICE ABBREVIATO PUNTO VENDITA',2,'CODABB',0,0,1,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BARTI1','01',7,'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,'' )
,('BARTI1','01',8,'TIPO ARTICOLO',2,'TIPART',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',9,'SOTTOTIPO ARTICOLO',2,'TIPDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',10,'CODICE UNITA'' DI MISURA',2,'CODUDM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBAUM',1,1,'' )
,('BARTI1','01',11,'CODICE CONFEZIONE/RECIPIENTE',2,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACZ',1,1,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BARTI1','01',12,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('BARTI1','01',13,'GESTITO AD ANNATE S/N',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',14,'GESTITO A LOTTI S/N',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',15,'ANNATA DI DEFAULT',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BARTI1','01',16,'GRUPPO RICAVO',2,'GRURIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAGR',1,1,'' )
,('BARTI1','01',17,'GRUPPO VALUTAZIONE RIMANENZE',2,'GRUVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAGV',1,1,'' )
,('BARTI1','01',18,'CATEGORIA SCONTO',2,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBACS',1,1,'' )
,('BARTI1','01',19,'CATEGORIA PROVVIGIONI',2,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBACP',1,1,'' )
,('BARTI1','01',20,'PERCENTUALE PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BARTI1','01',21,'PERCENTUALE PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BARTI1','01',22,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTI1','01',23,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('BARTI1','01',24,'GRADO',2,'GRAALC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BARTI1','01',25,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBACC',1,1,'' )
,('BARTI1','01',26,'FLAG TIPO LISTINO',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',29,'TIPO GESTIONE STATISTICHE',2,'FLGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',33,'PREZZO DI VENDITA',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('BARTI1','01',34,'COSTO STANDARD',2,'COSSTD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('BARTI1','01',35,'VALORIZZAZIONE RIMANENZE',2,'VALRIM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('BARTI1','01',36,'VALORIZZAZIONE ANALISI DEI COSTI',2,'VALCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('BARTI1','01',37,'FLAGS GESTIONE RIGA DOCO',2,'FLDOCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTI1','01',38,'FLAG GRADO EFFETTIVO OBBLIGATORIO S/N',3,'GRAEFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',39,'FLAG GRADO TOTALE OBBLIGATORIO S/N',3,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',40,'FLAG MASSA VOLUMICA OBBLIGATORIA S/N',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',41,'FLAG CALCOLO LITRI DA KILOGRAMMI',3,'KGTOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',42,'ZONA VITICOLA PER DOCO',2,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BARTI1','01',43,'ARTICOLO OBSOLETO  /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',44,'CONCORRE AL TOTALE MERCE IN MV ( /N)',2,'FLGMVL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',45,'ANNATA FISSA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI1','01',46,'ANNATA DEFAULT SPACCIO',2,'ANNSPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI1','01',48,'PESO LORDO KG.',2,'PESOLO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9(4)V999 COMP-3','',0,'',0,0,'' )
,('BARTI1','01',49,'AGGIORNA REGISTRO IMBOTTIGLIAMENTO S/N',2,'FLGIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',50,'GRADO OBBLIGATORIO IN BOLLA (S/N)',2,'GRAOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',51,'ARTICOLO DI VENDITA (S/N)',2,'FLGVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',52,'SECONDA ZONA VITICOLA',2,'ZONVI2',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BARTI1','01',53,'ID FAMIGLI AREGISTRO UNICO',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,'' )
,('BARTI1','01',54,'ID FAMIGLIA R.U. PRODOTTO IMB.DA BOLLA',2,'IDFIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BARTI1','01',55,'OBBLIGO GRADO BABO SU BOLLE (PER UVE)',2,'FOBABO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',56,'QTA'' RASPI AGGIUNTIVA IMPUTABILE S/N/O',2,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',57,'RAGGRUPPAMENTO IMPUTABILE S/N/O',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI1','01',58,'LOTTO DA PROPORRE IN BOLLA (DDT)',2,'PROLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BARTI1','01',59,'GESTITO SU ALYANTE',2,'FLGALY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BARTI6','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,'' )
,('BARTI6','01',3,'CODICE ARTICOLO (LO STESSO DI AARTI1)',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('BARTI6','01',4,'CODICE PRODOTTO',2,'CODPRD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',5,'CODICE MARCHIO',2,'CODMAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',6,'CODICE FORMATO',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',7,'CODICE CONFEZIONE',2,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',8,'CODICE VASSOIO',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',9,'CODICE PALLET',2,'CODPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'AMQPAL',1,1,'' )
,('BARTI6','01',10,'TIPO ARTICOLO (1=VENDITA, 2=MAT.PRIME)',2,'TIPART',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',11,'ARTICOLO FUORI PRODUZIONE (S/ )',2,'NOPROD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',12,'TIPO LOTTO (PER DB WISE)',2,'TIPLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BARTI6','01',13,'CAMPO FITTIZIO SOLO PER EXPORT DA AARTI2',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BARTI6','01',14,'TEMPO DECADIMENTO GG',2,'GGALRM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',15,'TEMPO SCADENZA MM',2,'MMSCAD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',16,'NUMERO STRATI',2,'NRSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',17,'NUMERO CARTONI PER PALLET',2,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BARTI6','01',18,'ALTEZZA PALLET MILLIMETRI',2,'ALTPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',19,'PESO LORDO CARTONE GRAMMI',2,'PLCART',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BARTI6','01',20,'NUMERO ARTICOLO',2,'NUMART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BARTI6','01',21,'STAMPA ETICHETTA MARIANI 0/1/2/3',2,'STETMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',22,'CODICE AVVOLGITURA',2,'CODAVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',23,'GIORNI SCADENZA',2,'DDSCAD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BARTI6','01',24,'CAMPO FITTIZIO SOLO PER EXPORT DA AARTI2',2,'EAN-14',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',25,'GG DECADIMENTO PER ASETTICO',2,'GGASET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BARTI6','01',26,'DESCRIZIONE PER ETICHETTA MARIANI',2,'DESETI',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('BARTI6','01',27,'BOTTIGLIE PER STRATO (VUOTE)',2,'BOTSTR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BARTI6','01',28,'COMPATTAZIONE PALLET SYSTORE SOAVE 0/1/2',2,'COMPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',29,'TIPO GESTIONE SYSTORE F/V',2,'GESSYS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BARTI6','01',30,'ORE FIFO PRELIEVI SYSTORE',2,'HFIFOP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BARTI6','01',31,'ORE FIFO VERSAMENTI SYSTORE',2,'HFIFOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BARTI6','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BARTI6','01',33,'PRIORITA'' CARICO SYSTORE',2,'PRISYS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BARTI6','01',34,'CLASSE ROTAZIONE ARTICOLO SYSTORE',2,'CLASSM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',4,'',0,0,'' )
,('BBOLL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',2,'CHIAVE CLIFOR+DATA+NUMERO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',3,'DATA IMMISSIONE BOLLA',3,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLL1','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,'' )
,('BBOLL1','01',5,'ANNO',4,'AA-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'X' )
,('BBOLL1','01',6,'MESE',4,'MM-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('BBOLL1','01',7,'GIORNO',4,'GG-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('BBOLL1','01',8,'CHIAVE CLIFOR+NUMERO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',9,'CODICE CLIENTE',4,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BBOLL1','01',10,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',11,'NUMERO INTERNO BOLLA',5,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLL1','01',12,'CAUSALE BOLLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBADC',1,1,'' )
,('BBOLL1','01',13,'CODICE MAGAZZINO PARTENZA',2,'CODMG1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('BBOLL1','01',14,'CODICE MAGAZZINO ARRIVO',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',2,1,'' )
,('BBOLL1','01',15,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('BBOLL1','01',16,'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,'ATBAAG',1,1,'' )
,('BBOLL1','01',17,'CODICE AGENTE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBACA',1,1,'' )
,('BBOLL1','01',18,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('BBOLL1','01',19,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'ATMABA',1,1,'' )
,('BBOLL1','01',20,'CODICE ABI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BBOLL1','01',21,'CODICE CAB',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BBOLL1','01',22,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMZ',1,1,'' )
,('BBOLL1','01',23,'MODALITA'' DI TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMT',1,1,'' )
,('BBOLL1','01',24,'PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPO',1,1,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BBOLL1','01',25,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBATR',1,1,'' )
,('BBOLL1','01',26,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('BBOLL1','01',27,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',28,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBALI',1,1,'' )
,('BBOLL1','01',29,'FLAG LISTINO',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',30,'FLAG SCONTO QUANTITA (S/N)',2,'FLGSCQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',31,'FLAG STAMPA DAA (S/N)',2,'FLGDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',32,'DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BBOLL1','01',33,'CODICE CLIENTE TRIANGOLARE',2,'CODCTR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BBOLL1','01',34,'CODICE LUOGO CONSEGNA',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BBOLL1','01',35,'PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLL1','01',36,'PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLL1','01',37,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLL1','01',38,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',39,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BBOLL1','01',40,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',41,'NUMERO CONTRATTO COLLEGATO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLL1','01',42,'NUMERO ORDINE COLLEGATO',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLL1','01',43,'DOPPIA BOLLA ESTERO (DAA+BOLLA) (S/ )',2,'FLG2BO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',44,'DATA PARTENZA BOLLA',2,'DTAPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLL1','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',46,'ANNO',3,'AA-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BBOLL1','01',47,'MESE',3,'MM-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',48,'GIORNO',3,'GG-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',49,'ORA PARTENZA',2,'ORAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLL1','01',50,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',51,'ORE',3,'OREPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',52,'MINUTI',3,'MINPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',53,'DATA STAMPA BOLLA',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLL1','01',54,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',55,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BBOLL1','01',56,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',57,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',58,'BLOCCO BOLLE',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BBOLL1','01',59,'EX NUMERO DOCUMENTO (VEDI NUMDOC)',2,'DOCOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BBOLL1','01',60,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',61,'NUMERO INTERNO FATTURA CREATA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',63,'NUMERO MOVIMENTO COMMERCIALIZZAZIONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',64,'NUMERO MOVIMENTI DI IMBOTTIGLIAMENTO',2,'NUMIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',65,'NUMERO FISCALE FATTURA ACC. e IMMEDIATA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',66,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',67,'SIGLE REGISTRO IVA',3,'SIGRIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',68,'NUMERO REGISTRO IVA',3,'NUMRIV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',69,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BBOLL1','01',70,'NUMERO MOVIMENTO CONTRASSEGNI IVA',2,'NUMTAP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',71,'NUMERO BOLLA COLLEGATA SE ESTERO 2 BOLLE',2,'NUM2BO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLL1','01',72,'NUMERO MVV ASSEGNATO CON MVMCBC (COLLIS)',2,'MVMCBC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BBOLL1','01',73,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BBOLL1','01',74,'NUMERO MOVIMENTO VUOTI',2,'NUMVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',75,'FLAG NOTA DI CARICO STAMPATA (X)',2,'STANTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',76,'RIFERIMENTO PER RESI',2,'RIFNOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',77,'ANNO RIFERIMENTO NOTE',3,'AARNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BBOLL1','01',78,'MESE RIFERIMENTO NOTE',3,'MMRNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',79,'AVVENUTA ESTRAZIONE STATISTICHE (S)',2,'EXTSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',80,'DATA VALUTA',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLL1','01',81,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',82,'ANNO',3,'AA-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BBOLL1','01',83,'MESE',3,'MM-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',84,'GIORNO',3,'GG-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',85,'DATA RITIRO VETTORE',2,'DTARIT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLL1','01',86,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',87,'ANNO',3,'AA-RIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BBOLL1','01',88,'MESE',3,'MM-RIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',89,'GIORNO',3,'GG-RIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',90,'ORA RITIRO',2,'ORARIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLL1','01',91,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',92,'ORE',3,'ORERIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',93,'MINUTI',3,'MINRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',94,'AVVENUTA EST. REG. BENI PRESSO TERZI',2,'EXTBPT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',95,'DATA PREVISTA CONSEGNA',2,'DTAPRC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLL1','01',96,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLL1','01',97,'ANNO PREVISTA CONSEGNA',3,'AA-PRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BBOLL1','01',98,'MESE PREVISTA CONSEGNA',3,'MM-PRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',99,'GIORNO PREVISTA CONSEGNA',3,'GG-PRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLL1','01',100,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',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,'' )
,('BBOLL1','01',101,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',102,'NUMEOR MOVIMENTO ERGA OMNES GENERATO',2,'NUMMEO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,13,0,0,'X(5) COMP-X','',0,'',0,0,'' )
,('BBOLL1','01',103,'CODICE SECONDO TRASPORTATORE',2,'CODTR2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BBOLL1','01',104,'GENERATO DOC ACQUISTO SPESE TRASPORTO SN',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',105,'STAMPATO MODELLO D /S',2,'STMODD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',106,'FATTURATA DAL TRASPORTATORE ( /S)',2,'FATTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',107,'FLAG CONGELAMENTO TOTALE ORDINE (S/N/ )',2,'CONORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',108,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ABANAZ',1,1,'' )
,('BBOLL1','01',109,'ID SUPERTESTATA MOV.REG.VITIVINICOLO',2,'IDSRVI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BBOLL1','01',110,'NUMERO DICHIARAZIONE INTENTO ASSOCIATA',2,'NUMDII',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BBOLL1','01',111,'CAUSALE PER FATTURA B2B GDO',2,'CAUB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLL1','01',112,'NUMERO DOCUMENTO (NUOVO CAMPO DA 30)',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLL1','01',113,'FLAG STATO MVV-E',2,'FLMVVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLL1','01',119,'NOME FILE PDF RICEVUTO DAL SIAN',2,'MVEPDF',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BBOLLU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','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,'' )
,('BBOLLU','01',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLLU','01',4,'ASPETTO ESTERIORE DEI BENI',2,'ASPETT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',5,'NOME AUTISTA',2,'AUTIST',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('BBOLLU','01',6,'NUMERO IMBALLI',2,'IMBALL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BBOLLU','01',7,'FIRMATARIO BOLLA',2,'FIRMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',8,'NUMERO PESATA DI RIFERIMENTO',2,'PESRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLLU','01',9,'TARGA MOTRICE',2,'TARGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BBOLLU','01',10,'TARGA RIMORCHIO',2,'TARGAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BBOLLU','01',11,'LUOGO DI PARTENZA BOLLA',2,'LUOPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BBOLLU','01',12,'LUOGO DI ARRIVO BOLLA',2,'LUOARR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',13,'NUMERO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BBOLLU','01',14,'DATA FATTURA',2,'DTAFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','01',16,'ANNO',3,'AA-FAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BBOLLU','01',17,'MESE',3,'MM-FAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLLU','01',18,'GIORNO',3,'GG-FAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLLU','01',19,'DURATA DEL TRASPORTO',2,'DURATA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',20,'NUMERO DDT IN ALTERNATIVA AL NR.FATTURA',2,'NUMDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BBOLLU','01',21,'DATI RELATIVI AL TRASPORTO DAA (1)',2,'DATTR1',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BBOLLU','01',22,'DATI RELATIVI AL TRASPORTO DAA (2)',2,'DATTR2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BBOLLU','01',23,'DATI RELATIVI AL TRASPORTO DAA (3)',2,'DATTR3',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BBOLLU','01',24,'DATI RELATIVI AL TRASPORTO DAA (4)',2,'DATTR4',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BBOLLU','01',25,'CERTIFICATI DAA (1)',2,'CERTI1',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BBOLLU','01',26,'CERTIFICATI DAA (2)',2,'CERTI2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BBOLLU','01',27,'BLOCCO DICHIARAZIONE PULIZIA CISTERNE',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BBOLLU','01',28,'NUMERO DICHIRAZIONE PULIZIA CISTERNE',2,'NUMDIC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','01',29,'PREFISSO',3,'PREDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BBOLLU','01',30,'NUMERO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLLU','01',31,'POSTFISSO',3,'POSDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BBOLLU','01',32,'QUARTA RIGA DESTINATARIO',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('BBOLLU','01',33,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',34,'DOCUMENTO RIFERIMENTO VUOTI RESI REVINI',2,'RIFVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BBOLLU','01',35,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('BBOLLU','01',36,'PALLET TOTALI BOLLA',2,'PALLET',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BBOLLU','01',37,'BARCODE DOCUMENTALE - ASSEGNATO DA AV2K',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BBOLLU','01',39,'EFFETTUATO INVIO EDI /S',2,'EXTEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',40,'DAA TELEMATICO',2,'DAATEL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','01',41,'DAA TELEMATICO (S/N)',3,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',42,'NOME FILE CREATO (PERCORSO COMPLETO)',3,'FILNAM',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BBOLLU','01',43,'NUMERO GIORNI DURATA VIAGGIO',3,'GG-TRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BBOLLU','01',44,'RESPONSABILE TRASPORTO (T016 AG. DOGANE)',3,'CDT016',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',45,'DAA DIFFERITO (S/ ) TELEMATIZZATO DOPO',3,'FLDIFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',46,'NUMERO ARC ASSEGNATO DA AG.DOGANE',3,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('BBOLLU','01',47,'NOME FLUSSO',3,'NOMFLU',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BBOLLU','01',48,'DATA TRASMISSIONE FLUSSO',3,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',50,'NUMERO DI RIFERIMENTO LOCALE',3,'RIFLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('BBOLLU','01',51,'UFFICIO DOGANA DI ESPORTAZIONE',3,'UFFDOG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BBOLLU','01',52,'OLD FILE ASSEGNATO DA SITO DOGANE*******',3,'OLDFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BBOLLU','01',53,'RIFERIMENTO - SECONDO CAMPO',2,'RIFOR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',54,'PALLETT TOTALI BOLLA DI TIPO FULL',2,'PALLFF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BBOLLU','01',55,'PALLETT TOTALI BOLLA DI TIPO FULL LIGHT',2,'PALLFL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BBOLLU','01',56,'PALLETT TOTALI BOLLA DI TIPO HALF',2,'PALLHH',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BBOLLU','01',57,'PALLETT TOTALI BOLLA DI TIPO QUARTER',2,'PALLQQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BBOLLU','01',58,'PALLETT TOTALI BOLLA DI TIPO MINIQUARTER',2,'PALLMQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BBOLLU','01',59,'SOGGETTO ADDEBITO SPESE INCASSO (S/N)',2,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',60,'SOGGETTO ADDEBITO CAUZIONI VUOTI (S/N)',2,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',61,'SOGGETTO ADDEBITO BOLLO CAUZIONI (S/N)',2,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',62,'TIPO MSG E-AD T014 (SOLO ESPORTAZIONE)',2,'CDT014',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('BBOLLU','01',63,'DATA RICEZIONE ARC',2,'DTAARC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',64,'DATA STAMPA PROCEDURA DI RISERVA',2,'DTARIS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',65,'TOTALE LITRI',2,'TOTLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,3,0,'9(7)V9(3)','',0,'',0,0,'' )
,('BBOLLU','01',66,'BARCOCDE DOCUMENTALE - LETTO IN AV2K',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BBOLLU','01',68,'NOME FILE CREATO PER VALDO (058)',2,'FILVDO',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('BBOLLU','01',69,'FLAG INVIO MVV',2,'INVMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',73,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BBOLLU','01',74,'NUMERO ORDINE (B-MALERA)',2,'NOR072',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BBOLLU','01',75,'DATA ORDINE (B-MALERA)',2,'DOR072',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',76,'OGGETTO MAIL CONVALIDA MVV',2,'OGGMVV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','01',77,'RIGA OGGETTO MAIL CONVALIDA MVV 128 CHAR',3,'RGOMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',4,'',0,0,'' )
,('BBOLLU','01',78,'REDEFINES PER UTILIZZO CON BROWSER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','01',79,'ELEMENTI OGGETTO MVV DA 64 CARATTERI',3,'ROGMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',8,'',0,0,'' )
,('BBOLLU','01',80,'INDIRIZZO DI INVIO MAIL DI CONVALIDA',2,'DESMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('BBOLLU','01',81,'DATA INVIO PEC MVV',2,'DATPEC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',82,'NUOVO CODICE FILE DOGANE DAL 13-6-2016',2,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,18,18,0,0,'9(18)','',0,'',0,0,'' )
,('BBOLLU','01',83,'CODICE AUTISTA',2,'CODAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BBOLLU','01',84,'DATA ARRIVO CORRIERE',2,'DTAACO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',85,'DATA ARRIVO CORRIERE',2,'ORAACO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLLU','01',86,'DATA PARTENZA CORRIERE',2,'DTAPCO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BBOLLU','01',87,'ORA PARTENZA CORRIERE',2,'ORAPCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BBOLLU','01',88,'COGNOME AUTISTA',2,'COGAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BBOLLU','01',89,'FLAG ARTICOLO 33 MVV-E (X)',2,'FART33',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',90,'FLAG ARTICOLO 29 MVV-E (X)',2,'FART29',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BBOLLU','01',91,'EMAIL AUTISTA',2,'MAILAU',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BBOLLU','01',92,'CELLULARE AUTISTA',2,'CELLAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BBOLLU','01',93,'PREFISSO',3,'PRECAU',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BBOLLU','01',94,'NUMERO',3,'NUMCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('BBOLLU','01',95,'NOME PDF ARCHIVIATO DA RTHTTP',2,'DOCNAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BCASSR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCASSR','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,'' )
,('BCASSR','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCASSR','01',4,'CODICE CONTENITORE',3,'CODCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCASSR','01',5,'NUMERO CONTENITORI RESI',2,'NRCONR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('BCASSR','01',6,'NUMERO CONTENITORI CONSEGNATI',2,'NRCONC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('BCATA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','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,'' )
,('BCATA1','01',3,'CODICE SOCIO',3,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCATA1','01',4,'PROGRESSIVO PARTICELLA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BCATA1','01',5,'RIFERIMENTO FONDI',2,'RIFFON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',6,'CODICE UVA',3,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCATA1','01',7,'CODICE ZONA',3,'CODZON',0,4,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCATA1','01',8,'CODICE LOCALITA''',3,'CODLOC',0,5,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCATA1','01',9,'NOME VIGNETO',3,'VIGNET',0,6,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BCATA1','01',10,'RIFERIMENTI CATASTALI',2,'RIFCAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',11,'CODICE COMUNE',3,'CODCOM',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCATA1','01',12,'FOGLIO (ALLINEAMENTO DX)',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BCATA1','01',13,'TUTTE LE PARTICELLE DELLA RIGA',3,'ALLPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',14,'PARTICELLA (ALLINEAMENTO DX)',4,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',6,'',0,0,'' )
,('BCATA1','01',15,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',16,'PARTICELLA DA 10 CARATTERI (LAVIS)',4,'PART10',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',3,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BCATA1','01',17,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',18,'PARTICELLA SINGOLA',4,'PARUNA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BCATA1','01',19,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('BCATA1','01',20,'CODICE POSSESSO',3,'CODPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'X(2)','',0,'',0,0,'' )
,('BCATA1','01',21,'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,'' )
,('BCATA1','01',22,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCATA1','01',23,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',24,'CODICI ATTRIBUTI',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('BCATA1','01',25,'TABELLA NUMERI DEFINIBILI',2,'TABNUM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCATA1','01',26,'NUMERI DEFINIBILI',3,'NUMDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',10,'',0,0,'' )
,('BCATA1','01',27,'SUPERFICE 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,'' )
,('BCATA1','01',28,'SUPERFICE CERTIFICATA DOC',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,'' )
,('BCATA1','01',29,'QUANTITA'' CERTIFICATA DOC (RTRESG)',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BCATA1','01',30,'FLAG PRODUZIONE ( /N)',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCATA1','01',31,'SEZIONE CENSUARIA',2,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCATA1','01',32,'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,'' )
,('BCATA1','01',33,'UVA PROVENIENZA SE DECLASSAMENTO',2,'UVAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCATA1','01',34,'NUMERO DICHIARAZIONE VINOB1',2,'VINOB1',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('BCATA1','01',35,'NUMERO UNITA'' VITATA AGEA (?)',2,'UVAGEA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCATA1','01',36,'PARTITA IVA INTESTATARIO (SE DIVERSO)',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('BCATA1','01',37,'STATO VALIDAZIONE AGEA (DA TABELLA)',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCATA1','01',38,'QUANTITA'' TOLLERATA (RTRESG)',2,'QTATOL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BCATA1','01',39,'CODICE UVA BASE VIGNETO',2,'UVBASE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCATA1','01',40,'NUMERO U.V. (UNAR)',2,'NRVIGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCATA1','01',41,'SCELTA VENDEMMIALE DEFAULT',2,'SCVDEF',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCATA1','01',42,'QUANTITA'' CERTIFICATA RECIOTO (RTRESG)',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BCATA1','01',43,'QUANTITA'' CERT. PRIMA STOCCAGGIO (RTRESG',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BCATA1','01',44,'QUANTITA'' RISERVA (PRIMO SUPERO) (RTRESG',2,'QTARIS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BCATA1','01',45,'ETA'' IMPIANTO (RTRESG)',2,'ETAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,4,5,0,0,'S9999','',0,'',0,0,'' )
,('BCATA1','01',46,'QUANTITA'' MASSIMA CONFERIBILE TAVOLA',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BCATA1','01',47,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('BCDVMJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVMJ','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,'' )
,('BCDVMJ','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,4,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BCDVMJ','01',4,'PRODOTTO',3,'CODPRO',0,1,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVMJ','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,'' )
,('BCDVMJ','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BCDVMJ','01',7,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVMJ','01',8,'DATA INIZIO VALIDITA''',3,'DTAFIN',0,3,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVMJ','01',9,'PREZZO LISTINO',2,'PREZZO',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,'' )
,('BCDVMJ','01',10,'TIPO CONTROLLO DATE',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCDVMJ','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('BCDVMW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVMW','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,'' )
,('BCDVMW','01',3,'CODICE LISTINO',3,'CODLIS',0,3,1,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BCDVMW','01',4,'PRODOTTO',3,'CODPRO',0,1,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVMW','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,'' )
,('BCDVMW','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BCDVMW','01',7,'VALIDO DAL',3,'DTAVAL',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVMW','01',8,'PREZZO',2,'PREZZO',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,'' )
,('BCDVMW','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('BCDVON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVON','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,'' )
,('BCDVON','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BCDVON','01',4,'PRODOTTO',3,'CODPRO',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVON','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,'' )
,('BCDVON','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BCDVON','01',7,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVON','01',8,'DATA FINE VALIDITA''',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVON','01',9,'QUANTITA'' OGNI',3,'QTAOGN',0,5,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BCDVON','01',10,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('BCDVON','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('BCDVSJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVSJ','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,'' )
,('BCDVSJ','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,4,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BCDVSJ','01',4,'PRODOTTO',3,'CODPRO',0,1,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVSJ','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,'' )
,('BCDVSJ','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BCDVSJ','01',7,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVSJ','01',8,'DATA INIZIO VALIDITA''',3,'DTAFIN',0,3,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCDVSJ','01',9,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCDVSJ','01',10,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCDVSJ','01',11,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCDVSJ','01',12,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCDVSJ','01',13,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCDVSJ','01',14,'TIPO CONTROLLO DATE',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCDVSJ','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('BCONF1','01',4,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',5,'CHIAVE ELABORAZIONE PER FONDO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',6,'CHIAVE ACCESSO ARCHIVIO FONDI',3,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',7,'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,'' )
,('BCONF1','01',8,'CODICE UVA DICHIARATA',4,'CODUVA',0,0,0,2,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONF1','01',9,'* CODICE ZONA',4,'FONZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONF1','01',10,'* CODICE LOCALITA''',4,'FONLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCONF1','01',11,'* NOME VIGNETO',4,'FONVIG',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BCONF1','01',12,'ALTRI DATI CHIAVE CONFERIMENTO',3,'DATCNF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',13,'CLASSE ELABORAZIONE CONFERIMENTO',4,'CLASSE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONF1','01',14,'DATA CONFERIMENTO',4,'DTACON',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCONF1','01',15,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',16,'ANNO',5,'AA-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BCONF1','01',17,'MESE',5,'MM-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',18,'GIORNO',5,'GG-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',19,'ORA ENTRATA',4,'ORAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONF1','01',20,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',21,'ORA',5,'HH-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',22,'MINUTI',5,'MI-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',23,'SECONDI',5,'SS-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',24,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',25,'NUMERO CONFERIMENTO',5,'NUMCON',0,0,2,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BCONF1','01',26,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BCONF1','01',27,'CODICE ZONA',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONF1','01',28,'CODICE LOCALITA''',2,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCONF1','01',29,'NOME VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BCONF1','01',30,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',31,'CODICE SECONDA SCELTA',2,'CODSC2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',32,'CODICE TERZA SCELTA',2,'CODSC3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',33,'FLAG OLTRE TOLLERANZA (S/ )',2,'FLGOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',34,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',35,'CODICE SCELTA',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',36,'CREATO DA SUDDIVISIONE ALLA TARA (0/1)',2,'SDDTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('BCONF1','01',37,'INDICE COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,6,0,0,'XX COMP-X','',0,'',0,0,'' )
,('BCONF1','01',38,'CODICE UVA IG SU CUI SPOSTARE TAVOLA',2,'CUVAIG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONF1','01',39,'FLAG DECLASSATO PER SCELTA (0/1)',2,'FLGDCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',43,'FLAG DECLASSATO PER GRADO (0/1)',2,'FLGDCG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',46,'NUMERO PRENOTAZIONE',2,'NUMPRE',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONF1','01',47,'PERCENTUALE CORREZIONE GRADO',2,'PERGRD',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('BCONF1','01',48,'LORDO',2,'QLLORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',49,'TARA',2,'QLTARA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',50,'DECLASSATO PER ATTRIBUTO (0/1)',2,'FLGDCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',53,'PERCENTUALE MECCANIZZATA',2,'PERCME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONF1','01',54,'QUINTALI CONFERITI',2,'QLCONF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',55,'GRADO BABO CONFERITO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONF1','01',56,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('BCONF1','01',57,'FATTORE PH',2,'FATTPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONF1','01',58,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',59,'PERCENTUALE CORREZIONE NETTO',2,'PERNET',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('BCONF1','01',60,'PERCENTUALE CONCENTRAZIONE',2,'PERCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONF1','01',61,'GRADO CONFERIMENTO',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONF1','01',62,'QUINTALI CONFERIMENTO',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',63,'* QUANTITA'' DOC ACCETTATA',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',64,'* QUANTITA'' TAVOLA ACCETTATA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',65,'* QUANTITA'' TAVOLA OLTRE TOLLERANZA',2,'QTAOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',66,'UVA DECLASSATA (UVO SOAVE) VECCHIA',2,'OLUDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONF1','01',67,'CODICE UVA DI DESTINAZIONE',2,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONF1','01',68,'VECCHIO CODICE ATTRIBUTO CONFERIMENTI',2,'OLDATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',5,'',0,0,'' )
,('BCONF1','01',69,'RIFERIMENTO CONFERIMENTO (SUDDIVISIONE)',2,'RIFDIV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BCONF1','01',70,'DATA DECLASSAMENTO UVO OLD',2,'OLDDEC',0,0,0,0,0,0,0,0,0,0,'',5,0,5,8,0,0,'D8 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',71,'QLI DOC PRECEDENTI IL DECLASSAMENTO OLD',2,'ODDDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',72,'TEMPERATURA (CASARSA)',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONF1','01',73,'CODICE CAMPIONE',2,'CODCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BCONF1','01',74,'UVA DI PROVENIENZA',2,'UVAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONF1','01',75,'TABELLA DECLASSAMENTI',2,'TABDEC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',76,'ELEMENTO DECLASSAMENTI',3,'ELEDEC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('BCONF1','01',77,'UVA DECLASSATA',4,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONF1','01',78,'DATA DECLASSAMENTO',4,'DTADEC',0,0,0,0,0,0,0,0,0,0,'',5,0,5,8,0,0,'D8 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',79,'QUINTALI DOC DECLASSATI',4,'DOCDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',80,'QUINTALI RITOCCO CONFERIMENTO',2,'QTARIT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',81,'DENSITA'' OTTICA A 385 NM',2,'DOA385',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONF1','01',82,'DENSITA'' OTTICA A 525 NM',2,'DOA525',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONF1','01',83,'DENSITA'' OTTICA A 470 NM',2,'DOA470',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONF1','01',84,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('BCONF1','01',85,'NUMERO BOLLETTA DI ORIGINE SUDDIVISIONE',2,'NUMORI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('BCONF1','01',86,'MECCANICA S/',2,'FLAGME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',87,'COLORE CON 1 DECIMALE (QUALITA'' FENOLICA',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONF1','01',88,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',89,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',10,'',0,0,'' )
,('BCONF1','01',90,'QUANTITA'' RISERVA (DI CUI DI QTATAV)',2,'QTARIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONF1','01',91,'BUDGET (SVITATI DI SALVATERRA)',2,'BUDGET',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('BCONF1','01',92,'UVA DI SUPERO SE DIVERSA DA PREDEFINITA',2,'UVASUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONF1','01',93,'FORZATURA DECLASSAMENTO MANUALE',2,'FLGDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',96,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BCONF1','01',97,'VITIGNO DI PROVENIENZA',2,'VITPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',98,'VIGNETO DI PROVENIENZA',2,'VIGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BCONF1','01',99,'EFFICIENZA CAMPIONE',2,'EFFCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',100,'CARICARE PRIMA A RIEMPIRE IL SUPERO (S)',2,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',101,'CODICE STABILIMENTO ORIGINE (COLLIS)',2,'STBORI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONF1','01',102,'ACIDO GLUCONICO',2,'ACGLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BCONF1','01',103,'INCREMENTO INDISCRIMINATO APPLICATO',2,'INCGRI',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('BCONF1','01',104,'NUMERO VIAGGIO GIORNALIERO DEL SOCIO',2,'NRVGGS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONF1','01',105,'NON RISPETTA REGOLAMENTO VENDEMMIA (S)',2,'BADREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',106,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BCONF1','01',107,'CODICE TRASPORTATORE (FORNITORE)',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONF1','01',108,'CODICE TERZISTA (FORNITORE)',2,'CODTER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONF1','01',109,'COMMITTENTE REGISTRO UNICO',2,'COMMIT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONF1','01',110,'TIPO COMMITTENTE',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONF1','01',111,'CODICE COMMITTENTE',3,'COMCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONF1','01',112,'DISTANZA DEL FONDO IN CHILOMETRI',2,'DISTKM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BCONFD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONFD','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,'' )
,('BCONFD','01',3,'NUMERO CONFERIMENTO',3,'NUMCON',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BCONFD','01',4,'DECLASSAMENTO (99999999 ATTUALE) NO DATA',3,'DTADEC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BCONFD','01',5,'PROGRESSIVO',3,'PROGRE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BCONFD','01',6,'CODICE UVA PRODOTTA',2,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONFD','01',7,'CODICE UVA DI DESTINAZIONE PRODOTTA',2,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONFD','01',8,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BCONFD','01',9,'OLTRE TOLLERANZA (S)',2,'FLGOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONFD','01',10,'SUPERO DI DOC (S)',2,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONFD','01',11,'STOCCAGGIO (S)',2,'FLGSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONFD','01',12,'RICLASSIFICAZIONE PER GRADO (S)',2,'FLGRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONFD','01',13,'DIROTTATO PER VITIGNO CATASTO (S)',2,'FLGVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONFD','01',14,'CODICE VITIGNO CATASTO (0=DEFAULT)',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONFD','01',15,'UVA DI ORIGINE PER STOCCAGGIO E RICLASS.',2,'MEMUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONFD','01',16,'CODICE UVA SPEZZATO (JESOLO)',2,'UVASPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONFD','01',17,'QUANTITA'' SPEZZATA',2,'QTASPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BCONFD','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('BCONP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',2,'CHIAVE SITUAZIONE BOLLETTE',2,'KEY002',0,1,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',3,'STATO BOLLETTA (L=LORDO, T=TARA)',3,'FLAGLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',5,'NUMERO BOLLETTA',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BCONP1','01',6,'NUMERO PRENOTAZIONE',2,'NUMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONP1','01',7,'CODICE SOCIO',2,'CODSOC',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONP1','01',8,'DATA ENTRATA',2,'DTAENT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCONP1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',10,'ANNO',3,'AA-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BCONP1','01',11,'MESE',3,'MM-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',12,'GIORNO',3,'GG-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',13,'ORA ENTRATA',2,'ORAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONP1','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,'' )
,('BCONP1','01',15,'ORE',3,'HH-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',16,'MINUTI',3,'MI-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',17,'SECONDI',3,'SS-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',18,'ORA USCITA',2,'ORAUSC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONP1','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',20,'ORE',3,'HH-USC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',21,'MINUTI',3,'MI-USC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',22,'SECONDI',3,'SS-USC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',23,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONP1','01',24,'CODICE UVA DICHIARATA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',25,'CODICE ZONA',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',26,'CODICE LOCALITA''',2,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCONP1','01',27,'NOME VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BCONP1','01',28,'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,'' )
,('BCONP1','01',29,'MECCANICA (S/ )',2,'FLAGME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',30,'PERCENTUALE MECCANICA',2,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',31,'COEFFICENTE MECCANICA',2,'CFMECC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,4,0,'9V9999 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',32,'CODICE SOCIO SCORPORO',2,'CODSSC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONP1','01',33,'PERCENTUALE DI SCORPORO',2,'PERSSC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',34,'TABELLA CONTENITORI RESI',2,'TBCONR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',35,'NUMERO CONTENITORI RESI DAL SOCIO',3,'NRCONR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('BCONP1','01',36,'CODICE SCELTA',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONP1','01',37,'FLAG DECLASSATO PER SCELTA (0/1/2)',2,'FLGDCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',41,'FLAG DECLASSATO PER GRADO (0/1)',2,'FLGDCG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',44,'CODICE UVA IG SU CUI SPOSTARE TAVOLA',2,'CUVAIG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONP1','01',45,'LORDO PRELEVATO AUTOMATICAMENTE',2,'QLLORP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',46,'LORDO INSERITO MANUALMENTE',2,'QLLORM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',47,'LORDO',2,'QLLORT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',48,'TARA PRELEVATA AUTOMATICAMENTE',2,'QLTARP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',49,'TARA INSERITA MANUALMENTE',2,'QLTARM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',50,'TARA CONTENITORI',2,'QLTARC',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',51,'TARA',2,'QLTART',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',52,'NETTO',2,'QLNETT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',53,'GRADO PRELEVATO AUTOMATICAMENTE',2,'GRADOP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',54,'GRADO INSERITO MANUALMENTE',2,'GRADOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',55,'GRADO BABO CONFERITO',2,'GRADOB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',56,'INCREMENTO GRADO PER SCELTA',2,'INCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('BCONP1','01',57,'GRADO',2,'GRADOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',58,'ACIDITA'' PRELEVATA AUTOMATICAMENTE',2,'ACIDIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'999V9999 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',59,'ACIDITA'' INSERITA MANUALMENTE',2,'ACIDIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'999V9999 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',60,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'999V9999 COMP-3','',0,'',0,0,'' )
,('BCONP1','01',61,'FATTORE PH PRELEVATO AUTOMATICAMENTE',2,'INDPHP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',62,'FATTORE PH INSERITO MANUALMENTE',2,'INDPHM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',63,'FATTORE PH',2,'INDPHT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',64,'CODICE PESA LORDO',2,'CODMPL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BCONP1','01',65,'CODICE PESA TARA',2,'CODMPT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BCONP1','01',66,'CODICE MISURATORE GRADO',2,'CODMGR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BCONP1','01',67,'COMMENTI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('BCONP1','01',68,'CREATO IN SUDDIVISIONE ALLA TARA (0/1)',2,'SDDTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('BCONP1','01',69,'NUMERO CAMPIONE MASELLI PRELEVATO',2,'NMASEL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCONP1','01',70,'PERCENTUALE CORREZIONE NETTO (SACILE)',2,'PERNET',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('BCONP1','01',71,'CODICE VITIGNO (LAVIS)',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONP1','01',72,'TABELLA CONTENITORI CONSEGNATI',2,'TBCONC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',73,'NUMERO CONTENITORI CONSEGNATI AL SOCIO',3,'NRCONC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('BCONP1','01',74,'CODICE UVA DI DESTINAZIONE',2,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',75,'CODICE SECONDA SCELTA',2,'CODSC2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONP1','01',76,'CODICE TERZA SCELTA',2,'CODSC3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONP1','01',77,'VECCHIO CODICE ATTRIBUTO CONFERIMENTO',2,'OLDATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',5,'',0,0,'' )
,('BCONP1','01',78,'PERCENTUALE CORREZIONE GRADO',2,'PERGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('BCONP1','01',79,'PERCENTUALE INCREMENTO GRADO SCELTA 2',2,'INCGR2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',80,'PERCENTUALE INCREMENTO GRADO SCELTA 3',2,'INCGR3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',81,'DECLASSATO PER ATTRIBUTO (0/1)',2,'FLGDCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',84,'CONFERIMENTO ORIGINARIO (SUDDIVISIONE)',2,'RIFDIV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BCONP1','01',85,'FLAG OLTRE TOLLERANZA (S/ )',2,'FLGOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',86,'ID LORDO RILASCIATO DALLA PESA (AFFI)',2,'IDPESL',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('BCONP1','01',87,'ID TARA RILASCIATO DALLA PESA (AFFI)',2,'IDPEST',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('BCONP1','01',88,'TEMPERATURA (CASARSA)',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',89,'PESATO CASSE ( /X) (S.PIERO)',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',90,'INDICE COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,6,0,0,'XX COMP-X','',0,'',0,0,'' )
,('BCONP1','01',91,'CODICE CAMPIONE',2,'CODCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BCONP1','01',92,'UVA DI PROVENIENZA',2,'UVAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',93,'CASSE E SFUSO INSIEME (S/N) (V.vENETO)',2,'CASSFU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',94,'UVA BASE VIGNETO SCELTO AL LORDO (SOAVE)',2,'UVBASE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',95,'DENSITA'' OTTICA A 385 NM',2,'DOA385',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONP1','01',96,'DENSITA'' OTTICA A 525 NM',2,'DOA525',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONP1','01',97,'DENSITA'' OTTICA A 470 NM',2,'DOA470',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONP1','01',98,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('BCONP1','01',99,'NUMERO BOLLETTA DI ORIGINE SUDDIVISIONE',2,'NUMORI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('BCONP1','01',100,'CONTROLLO CASUALE CARRO (S/ )',2,'FCHECK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',101,'FLAG ECCEDENZA PRENOTAZIONE',2,'ECCQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',105,'QUINTALI IN ECCESSO TAGLIATI',2,'QLIECC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BCONP1','01',106,'ID INTERNO TAG',2,'ID-TAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BCONP1','01',107,'ANOMALIA STABILIMENTO DI CONSEGNA (X)',2,'ANOSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',108,'ANOMALIA QUADERNO DI CAMPAGNA (X)',2,'ANOQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',109,'COLORE TRE INTERI E UN DECIMALE',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONP1','01',110,'CAMPIONE FOSS INVALIDATO ( /S)',2,'BADFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',111,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONP1','01',112,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',10,'',0,0,'' )
,('BCONP1','01',113,'UVA DI SUPERO DIVERSA DAL DEFAULT',2,'UVASUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',114,'SPAZIO PER ULTERIORI ATTRIBUTI (10X3)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('BCONP1','01',115,'VITIGNO DI PROVENIENZA',2,'VITPRO',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
('BCONP1','01',116,'VIGNETO DI PROVENIENZA',2,'VIGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BCONP1','01',117,'NUMERO FISCALE PESATA LORDO (DA PESA)',2,'NRFISL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,12,0,0,'9(12) COMP-3','',0,'',0,0,'' )
,('BCONP1','01',118,'NUMERO FISCALE PESATA TARA (DA PESA)',2,'NRFIST',0,0,0,0,0,0,0,0,0,0,'',1,0,7,12,0,0,'9(12) COMP-3','',0,'',0,0,'' )
,('BCONP1','01',119,'NUMERO PROGRESSIVO SUDDIVISIONE (LAVIS)',2,'NUMSDD',0,0,0,0,0,0,0,0,0,0,'',1,0,1,3,0,0,'X COMP-X','',0,'',0,0,'' )
,('BCONP1','01',120,'TOTALE BOLLETTE SUDDIVISIONE (LAVIS)',2,'TOTSDD',0,0,0,0,0,0,0,0,0,0,'',1,0,1,3,0,0,'X COMP-X','',0,'',0,0,'' )
,('BCONP1','01',121,'FLAG BASE SPUMANTE (HTML SOAVE) (S/N)',2,'FLAGBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',122,'CODICE UVAGGIO SCELTO AL LORDO',2,'CUVAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BCONP1','01',123,'ULTIMO CAMPIONE MASELLI PRESENTE',2,'LASTMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BCONP1','01',127,'ID CAMPIONE FOSS DA BARCODE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BCONP1','01',129,'INCREMENTO GRADO DA SOCIO',2,'INCGRS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',130,'CARICARE PRIMA A RIEMPIRE IL SUPERO',2,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',131,'UVA DICHIARATA AL LORDO (SOAVE)',2,'UVADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONP1','01',132,'ACIDO GLUCONICO',2,'ACGLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BCONP1','01',133,'INCREMENTO GRADO INDISCRIMINATO',2,'INCGRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONP1','01',134,'NR.VIAGGIO IN CASSE PER GG/SOCIO',2,'NRVGGS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',135,'EFFICIENZA CAMPIONE',2,'EFFCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BCONP1','01',136,'NON RISPETTA REGOLAMENTO VENDEMMIA (S)',2,'BADREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',137,'TIPO COMMITTENTE',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONP1','01',138,'CODICE COMMITTENTE',2,'COMCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONP1','01',139,'DISTANZA DEL FONDO IN CHILOMETRI',2,'DISTKM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BCONPZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BCONPZ','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,'' )
,('BCONPZ','01',3,'NUMERO BOLLETTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BCONPZ','01',4,'DATA ENTRATA',2,'DTAENT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BCONPZ','01',5,'ORA ENTRATA',2,'ORAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONPZ','01',6,'ORA USCITA',2,'ORAUSC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BCONPZ','01',7,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONPZ','01',8,'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,'' )
,('BCONPZ','01',9,'RAGIONE SOCIALE SOCIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BCONPZ','01',10,'CODICE UVA DICHIARATA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BCONPZ','01',11,'DESCRIZIONE DENOMINAZIONE',2,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BCONPZ','01',12,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BCONPZ','01',13,'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,'' )
,('BCONPZ','01',14,'MECCANICA (S/ )',2,'FLAGME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BCONPZ','01',15,'NETTO',2,'QLNETT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BCONPZ','01',16,'GRADO BABO CONFERITO',2,'GRADOB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONPZ','01',17,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'999V9999 COMP-3','',0,'',0,0,'' )
,('BCONPZ','01',18,'FATTORE PH PRELEVATO AUTOMATICAMENTE',2,'FATTPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONPZ','01',19,'TEMPERATURA (CASARSA)',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BCONPZ','01',20,'QUALITA'' FENOLICA',2,'QFENOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('BCONPZ','01',21,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('BCONPZ','01',22,'ACIDO GLUCONICO',2,'ACIGLU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,2,0,'9V99','',0,'',0,0,'' )
,('BCONPZ','01',23,'TRAMOGGIA',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BDOCSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BDOCSO','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,'' )
,('BDOCSO','01',3,'CODICE LANCIO (0 = ANTICIPI...)',3,'CODICE',0,1,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BDOCSO','01',4,'CODICE SOCIO',3,'CODSOC',0,3,2,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BDOCSO','01',5,'ANNO DOCUMENTO',3,'ANNIVA',0,4,3,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BDOCSO','01',6,'TIPO DOCUMENTO FATTURA/AUTOFATTURA',3,'TIPDOC',0,0,0,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BDOCSO','01',7,'NUMERO DOCUMENTO',3,'NUMDOC',0,5,4,4,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BDOCSO','01',8,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BDOCSO','01',9,'REDEFINES',3,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BDOCSO','01',10,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BDOCSO','01',11,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BDOCSO','01',12,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BDOCSO','01',13,'ANNO VENDEMMIA',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BDOCSO','01',14,'HUBID AGYO ATTIVO',2,'IDAGYO',0,2,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('BDOCSO','01',15,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BDOCSO','01',16,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BDOCSO','01',17,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('BDOCSO','01',18,'CODICE PAGAMENTO (MP02 O MP05)',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BDOCSO','01',19,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BDOCSO','01',20,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BDOCSO','01',21,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BDOCSO','01',22,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BDOCSO','01',23,'TIPO DOCUMENTO (TD01....)',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BDOCSO','01',24,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BDOCSO','01',25,'DATA CREAZIONE XML',2,'DATXML',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BDOCSO','01',26,'REDEFINES',2,'AMGXML',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BDOCSO','01',27,'ANNO',3,'AAAXML',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BDOCSO','01',28,'MESE',3,'MMMXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BDOCSO','01',29,'GIORNO',3,'GGGXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BETVRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BETVRU','01',2,'ID PRODOTTO',2,'IDPROD',0,3,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BETVRU','01',3,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BETVRU','01',4,'CODICE REGISTRO',3,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BETVRU','01',5,'NUMERO PROGRESSIVO LANCIO ELABORAZIONE',3,'NUMPRO',0,2,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BETVRU','01',6,'CODICE VASCA',3,'CODVAS',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BETVRU','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BETVRU','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BETVRU','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BETVRU','01',10,'QUANTITA'' 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,'' )
,('BETVRU','01',11,'DATA DI RIFERIMENTO GIACENZA',2,'DTAGIA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BETVRU','01',12,'GRADO GIACENZA',2,'GRAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BFATF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','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,'' )
,('BFATF1','01',3,'NUMERO FATTURA',3,'NUMFAT',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATF1','01',4,'HUB ID AGYO',2,'HUB-ID',0,0,0,1,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('BFATF1','01',5,'SOGGETTO SOCIO/FORNITORE',2,'CODSOG',0,1,0,2,2,3,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','01',6,'F=FORNITORE S=SOCIO',3,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATF1','01',7,'CODICE FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BFATF1','01',8,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('BFATF1','01',9,'RIFERIMENTI IVA',2,'RIFIVA',0,2,1,3,3,2,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','01',10,'DATA IVA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATF1','01',11,'REDEFINES',3,'AMGIVA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','01',12,'PERIODO STATISTICO',4,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','01',13,'ANNO',5,'AA-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATF1','01',14,'MESE',5,'MM-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATF1','01',15,'GIORNO',4,'GG-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATF1','01',16,'NUMERO IVA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BFATF1','01',17,'TIPO DOCUMENTO (TD01,.....)',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFATF1','01',18,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,1,1,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATF1','01',22,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFATF1','01',23,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('BFATF1','01',24,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',25,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','01',26,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BFATF1','01',27,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',28,'TOTALE IMPONIBILE',2,'TOTIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',29,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',30,'CAUZIONI',2,'CAUZIO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATF1','01',31,'IMPORTO CAUZIONI',3,'IMPCAU',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',32,'IMPORTO BOLLO CAUZIONI',3,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',33,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',34,'DIVISA',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFATF1','01',35,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',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,'' )
,('BFATF1','01',36,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATF1','01',37,'CODICE PAGAMENTO AG. ENTRATE',2,'PAGB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFATF1','01',38,'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,'' )
,('BFATF1','01',40,'TIPO RITENUTA',2,'TIPOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFATF1','01',41,'IMPORTO RITENUTA',2,'IMPOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('BFATF1','01',42,'PERCENTUALE RITENUTA',2,'PEROLD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATF1','01',43,'CAUSALE PAGAMENTO',2,'CAUOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATF1','01',44,'FLAG EFFETTUATO DOWNLOAD',2,'FLGDOW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATF1','01',45,'FOGLIO DI STILE',2,'NOMPDF',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BFATF1','01',47,'ELEMENTO DATI RITENUTA ACCONTO',2,'AREARI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('BFATF1','01',48,'TIPO RITENUTA',3,'TIPRIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFATF1','01',49,'IMPORTO RITENUTA',3,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('BFATF1','01',50,'PERCENTUALE RITENUTA',3,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATF1','01',51,'CAUSALE PAGAMENTO',3,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT1','01',4,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BFATT1','01',5,'RIFERIMENTI IVA',2,'RIFIVA',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',6,'DATA IVA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT1','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,'' )
,('BFATT1','01',8,'PERIODO STATISTICO',4,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',9,'ANNO',5,'AA-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT1','01',10,'MESE',5,'MM-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',11,'GIORNO',4,'GG-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',12,'NUMERO IVA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BFATT1','01',13,'CAUSALE FATTURA',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBACF',1,1,'' )
,('BFATT1','01',14,'RIFERIMENTO NOTE CREDITO/DEBITO INTRA',2,'RIFNOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',15,'ANNO RIFERIMENTO NOTE',3,'AARNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT1','01',16,'MESE RIFERIMENTO NOTE',3,'MMRNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',17,'NUMERO INTERNO FATTURA DI RIFERIMENTO',2,'RIFFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BFATT1','01',18,'DATA CREAZIONE FATTURA',2,'DTACRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT1','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',20,'ANNO',3,'AA-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT1','01',21,'MESE',3,'MM-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',22,'GIORNO',3,'GG-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',23,'CODICE MAGAZZINO (SE GESTITO IN TESTATA)',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',24,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFATT1','01',25,'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,'ATBAAG',1,1,'' )
,('BFATT1','01',26,'CODICE AGENTE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BFATT1','01',27,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('BFATT1','01',28,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'ATMABA',1,1,'' )
,('BFATT1','01',29,'CODICE ABI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BFATT1','01',30,'CODICE CAB',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BFATT1','01',31,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('BFATT1','01',32,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',33,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBALI',1,1,'' )
,('BFATT1','01',34,'FLAG LISTINO (V/N)',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATT1','01',35,'SCONTO QUANTITA S/N',2,'FLGSCQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATT1','01',36,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPO',1,1,'' )
,('BFATT1','01',37,'DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BFATT1','01',38,'PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATT1','01',39,'PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATT1','01',40,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATT1','01',41,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',42,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BFATT1','01',43,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',44,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT1','01',45,'RIEPILOGO IVA',2,'TABIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',46,'ALIQUOTA IVA',3,'ELEIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('BFATT1','01',47,'CODICE IVA',4,'ELECOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFATT1','01',48,'IMPONIBILE',4,'ELEIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',49,'IMPOSTA',4,'ELEIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',50,'TOTALE IMPONIBILE',2,'TOTIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',51,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',52,'CAUZIONI',2,'CAUZIO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',53,'IMPORTO CAUZIONI',3,'IMPCAU',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',54,'IMPORTO BOLLO CAUZIONI',3,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',55,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',56,'DATA PARTENZA CALCOLO SCADENZE',2,'DTAPCS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT1','01',57,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',58,'ANNO',3,'AA-PCS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT1','01',59,'MESE',3,'MM-PCS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',60,'GIORNO',3,'GG-PCS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',61,'PROVVIGIONI AGENTI ESTRATTE (S)',2,'EXTPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATT1','01',62,'STATISTICHE ESTRATTE (S)',2,'EXTSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATT1','01',63,'CONTABILITA'' ESTRATTA (S)',2,'EXTCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATT1','01',64,'DATA VALUTA',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT1','01',65,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',66,'ANNO',3,'AA-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT1','01',67,'MESE',3,'MM-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',68,'GIORNO',3,'GG-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',69,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',70,'NR. BOLLA PER FATTURA ACCOMPAGNATORIA',2,'BOLFAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BFATT1','01',72,'NUMERO INTERNO MOVIMENTO VUOTI',2,'MOVVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BFATT1','01',73,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',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,'' )
,('BFATT1','01',74,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATT1','01',75,'VALUTA ESPOSIZIONE IVA',2,'VALIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BFATT1','01',76,'DATA VALUTA ESPOSIZIONE IVA',2,'DTVIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT1','01',77,'CAMBIO ESPOSIZIONE IVA IN VALUTA',2,'CAMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('BFATT1','01',78,'NUMERO DICHIARAZIONE INTENTO ASSOCIATA',2,'NUMDII',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BFATT1','01',79,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',80,'I.D. ASSEGNATO DA AGYO',2,'IDAGYO',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('BFATT1','01',81,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BFATT1','01',82,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',83,'PRIMA PARTE',3,'MESB21',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BFATT1','01',84,'SECONDA PARTE',3,'MESB22',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BFATT1','01',85,'DATA INVIO B2B',2,'DATINV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT1','01',86,'REDEFINES',2,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT1','01',87,'ANNO',3,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFATT1','01',88,'MESE',3,'MMMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',89,'GIORNO',3,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT1','01',90,'CAUSALE LIBERA B2B (2.1.1.11)',2,'CAUB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BFATT3','DS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT3','DS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT3','DS',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT3','DS',4,'TIPO RECORD = "DS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT3','DS',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,'' )
,('BFATT3','DS',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BFATT3','DS',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BFATT3','DS',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BFATT3','DS',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT3','DS',10,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT3','DS',11,'VECCHIO CODICE ACCISA -> AFATT3-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BFATT3','DS',12,'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,'' )
,('BFATT3','DS',13,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('BFATT3','DS',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFATT5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT5','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,'' )
,('BFATT5','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT5','01',4,'RIGA FATTURA DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT5','01',6,'TIPO COMMENTO',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT5','01',11,'RIGA COMMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT5','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BFATT5','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT6','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,'' )
,('BFATT6','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT6','01',4,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFATT6','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,'' )
,('BFATT6','01',6,'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,'' )
,('BFATT6','01',7,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT6','01',8,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT6','01',9,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BFATT6','01',10,'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,'' )
,('BFATT6','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BFATT7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT7','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,'' )
,('BFATT7','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT7','01',4,'RIGA FATTURA DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BFATT7','01',6,'TIPO COMMENTO',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BFATT7','01',11,'RIGA COMMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFATT7','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('BFATT7','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BFATT8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT8','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATT8','01',3,'NUMERO FATTURA',3,'NUMFAT',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATT8','01',4,'CODICE IVA',3,'ELECOD',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFATT8','01',5,'IMPONIBILE',2,'ELEIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT8','01',6,'IMPOSTA',2,'ELEIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BFATT8','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('BFATTU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATTU','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,'' )
,('BFATTU','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('BFATTU','01',4,'PROVVIGIONI CAPI AREA ESTRATTE (S)',2,'EXTPRC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',5,'EFFETTUATO INVIO EDI /S',2,'EXTEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',6,'PROVVIGIONI SUPER CAPI AREA ESTRATTE (S)',2,'EXTPRS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',7,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BFATTU','01',8,'RIFERIMENTO VUOTI',2,'RIFVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BFATTU','01',9,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BFATTU','01',10,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ABANAZ',1,1,'' )
,('BFATTU','01',11,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('BFATTU','01',12,'CODICE A BARRE PER DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BFATTU','01',13,'TIPO BOLLA PER FATTURE ACCOMPAGNATORIE',2,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',16,'CODICE LUOGO DI CONSEGNA PER IND.SPED.F.',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BFATTU','01',17,'DATA INVIO FATTURA VIA MAIL',2,'DTMAIL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BFATTU','01',18,'RIFERIMENTO - SECONDO CAMPO',2,'RIFOR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BFATTU','01',19,'SOGGETTO ADDEBITO SPESE INCASSO (S/N)',2,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',20,'SOGGETTO ADDEBITO CAUZIONI VUOTI (S/N)',2,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',21,'SOGGETTO ADDEBITO BOLLO CAUZIONI (S/N)',2,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTU','01',22,'DATA ULTIMA CREAZIONE FILE PER P.A.',2,'DATAPA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BFATTU','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('BFATTZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATTZ','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,'' )
,('BFATTZ','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('BFATTZ','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFATTZ','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,'' )
,('BFATTZ','01',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',11,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATTZ','01',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('BFATTZ','01',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFATTZ','01',14,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATTZ','01',15,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFATTZ','01',16,'RIGA BOLLA DI ORIGINE',3,'RIGBOL',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
('BFATTZ','01',17,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BFATTZ','01',18,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('BFATTZ','01',19,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACZ',1,1,'' )
,('BFATTZ','01',20,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',21,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',22,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',26,'PESO LORDO DA BOLLA',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('BFATTZ','01',27,'TIPO IMPORTO',3,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',30,'IMPORTO',3,'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,'' )
,('BFATTZ','01',31,'QUANTITA'' PER CALCOLO IMPORTO',3,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('BFATTZ','01',32,'PREZZO PER CALCOLO IMPORTO',3,'PREIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('BFATTZ','01',33,'CAUSALE SCONTO MERCE',3,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFATTZ','01',34,'FLAG CONFEZIONE MISTA ( /1/2)',3,'FLGCFM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',39,'QUANTITA TOTALE RIGA (VENDITA + OMAGGI)',3,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',40,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',41,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',42,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',54,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',62,'PREZZO COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',65,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFATTZ','01',66,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BFATTZ','01',67,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',68,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATTZ','01',69,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BFATTZ','01',70,'GRADO',3,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,5,2,0,'99V99 COMP','',0,'',0,0,'' )
,('BFATTZ','01',71,'TIPO CONFEZIONE MISTA (C/X)',3,'TIPCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',72,'TIPO BOLLA PROVENIENZA 0=ABOLL1/1=APVEN1',3,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',73,'PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',76,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',77,'QUANTITA'' CONSEGNATA FRANCO ARRIVO',3,'QTACFA',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',78,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('BFATTZ','01',79,'CODICE MAGAZZINO (SE GESTITO SU RIGHE)',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('BFATTZ','01',81,'ESCLUSO DA CONTEGGIO SCONTO PAGAMENTO',3,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFATTZ','01',82,'PROVVIGIONI A PEZZO AGENTE',3,'PPPAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BFATTZ','01',83,'PROVVIGIONI A PEZZO CAPO AREA',3,'PPPACA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BFATTZ','01',84,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('BFESOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFESOR','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,'' )
,('BFESOR','01',3,'NUMERO DOCUMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFESOR','01',4,'PROGRESSIVO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BFESOR','01',5,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BFESOR','01',6,'QUANTITA''',2,'QTAART',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('BFESOR','01',7,'PREZZO',2,'PREART',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,5,0,'S9(7)V9(5)','',0,'',0,0,'' )
,('BFESOR','01',8,'IMPORTO RIGA',2,'IMPART',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('BFESOR','01',9,'UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFESOR','01',10,'FLAG COMMENTO /S',2,'FLGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFESOT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFESOT','01',2,'PROGRESSIVO UNIVOCO',2,'KEY005',0,0,0,0,1,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFESOT','01',3,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFESOT','01',4,'CODICE LANCIO (0 = ANTICIPI...)',3,'CODICE',0,1,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BFESOT','01',5,'CODICE SOCIO',3,'CODSOC',0,3,2,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BFESOT','01',6,'ANNO DOCUMENTO',3,'ANNIVA',0,4,3,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFESOT','01',7,'TIPO DOCUMENTO FATTURA/AUTOFATTURA',3,'TIPDOC',0,0,0,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFESOT','01',8,'NUMERO DOCUMENTO',3,'NUMDOC',0,5,4,4,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BFESOT','01',9,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFESOT','01',10,'REDEFINES',3,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFESOT','01',11,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFESOT','01',12,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFESOT','01',13,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFESOT','01',14,'ANNO VENDEMMIA',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFESOT','01',15,'HUBID AGYO ATTIVO',2,'IDAGYO',0,2,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('BFESOT','01',16,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFESOT','01',17,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BFESOT','01',18,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('BFESOT','01',19,'CODICE PAGAMENTO (MP02 O MP05)',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFESOT','01',20,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFESOT','01',21,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BFESOT','01',22,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BFESOT','01',23,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BFESOT','01',24,'TIPO DOCUMENTO (TD01....)',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BFESOT','01',25,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFESOT','01',26,'TIPO REGISTRO',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BFESOT','01',27,'NUMERO REGISTRO',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFESOT','01',28,'DATA CREAZIONE XML',2,'DATXML',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BFESOT','01',29,'REDEFINES',2,'AMGXML',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFESOT','01',30,'ANNO',3,'AAAXML',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BFESOT','01',31,'MESE',3,'MMMXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFESOT','01',32,'GIORNO',3,'GGGXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BFESOT','01',33,'CODICE VENDEMMIA X LETTURA ANAG. SOCIO',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BFESOT','01',34,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BFOND1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BFOND1','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,'' )
,('BFOND1','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,'' )
,('BFOND1','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,'' )
,('BFOND1','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,'' )
,('BFOND1','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,'' )
,('BFOND1','01',7,'NOME VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BFOND1','01',8,'SUPERFICE 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,'' )
,('BFOND1','01',9,'SUPERFICE CERTIFICATA DOC',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,'' )
,('BFOND1','01',10,'QUANTITA'' CERTIFICATA DOC',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',11,'QUANTITA'' CONFERITA TOTALE',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',12,'QUANTITA'' DOC ACCETTATA',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',13,'QUANTITA'' TAVOLA ACCETTATA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',14,'QUANTITA'' TAVOLA OLTRE TOLLERANZA',2,'QTAOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',15,'QUANTITA'' TOLLERATA',2,'QTATOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',16,'QUANTITA'' MAX TAVOLA AMMESSA (DA RTRMAX)',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',17,'QUANTITA'' CERTIFICATA RECIOTO',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',18,'QUANTITA'' CERTIFICATA STOCCAGGIO (ENTRO)',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',19,'QUANTITA'' RISERVA (DOPPIO SUPERO)',2,'QTARIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BFOND1','01',20,'VITATA IN PRODUZIONE DOC/IGT (RTRESF)',2,'VITPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,4,0,'9(4)V9(4) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BLIQ56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BLIQ56','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BLIQ56','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BLIQ56','01',4,'CODICE FAMIGLIA',3,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BLIQ56','01',5,'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,'' )
,('BLIQ56','01',6,'NUMERO BOLLETTA',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BLIQ56','01',7,'DATA BOLLETTA',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BLIQ56','01',8,'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,'' )
,('BLIQ56','01',9,'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,'' )
,('BLIQ56','01',10,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('BLIQ56','01',11,'TRATTENUTA AL QUINTALE FUT. AUM. C. SOC.',2,'TRAQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('BLIQ56','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BMARPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMARPA','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMARPA','01',3,'CODICE TIPO PALLET',3,'CODPAL',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BMARPA','01',4,'CODICE ARTICOLO COLLEGATO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BMMAG1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,1,0,0,2,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,1,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BMMAG1','01',4,'ANNATA',3,'ANNATA',0,0,0,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BMMAG1','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BMMAG1','01',6,'CHIAVE DATA',3,'KEY003',0,0,1,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',7,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BMMAG1','01',8,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',9,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BMMAG1','01',10,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG1','01',11,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG1','01',12,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',13,'NUMERO MOVIMENTO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BMMAG1','01',14,'NUMERO RIGA',5,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BMMAG1','01',15,'ALTRI DATI',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',16,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,1,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG1','01',17,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BMMAG1','01',18,'QUANTITA'' MOVIMENTO',3,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BMMAG1','01',19,'VALORE MOVIMENTO',3,'VALMOV',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,'' )
,('BMMAG1','01',20,'PREZZO UNITARIO',3,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('BMMAG1','01',21,'SCONTI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG1','01',22,'SCONTO',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',4,'',0,0,'' )
,('BMMAG1','01',23,'PROGRESSIVO X RIPARTENZA REG. ZUCCHERO',2,'ZUCPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG1','01',25,'CODICE ALVEOLO',2,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BMMAG1','01',26,'PROGRE.RIPARTENZA REG.CONSIGNMENT STOCK',2,'CSTPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG1','01',28,'NUOVA QUANTITA 3 DECIMALI TEST',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V9(3)','',0,'',0,0,'' )
,('BMMAG1','01',29,'filler(se si allunga vedi rtmmag-buffer)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('BMMAG7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG7','01',2,'CHIAVE MAGAZZINO-ALVEOLO-ARTICOLO-DATA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG7','01',3,'CHIAVE SOGGETTO',3,'KEYSOG',0,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG7','01',4,'TIPO SOGGETTO (VEDI AMMAG2)',4,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BMMAG7','01',5,'CODICE SOGGETTO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('BMMAG7','01',6,'PRODOTTO',3,'CODPRO',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG7','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,'' )
,('BMMAG7','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,'' )
,('BMMAG7','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,'' )
,('BMMAG7','01',10,'DATA MOVIMENTO',3,'DTAMOV',0,0,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BMMAG7','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG7','01',12,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BMMAG7','01',13,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG7','01',14,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMMAG7','01',15,'CHIAVE PRINCIPALE',3,'KEY001',1,0,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMMAG7','01',16,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BMMAG7','01',17,'NUMERO RIGA',4,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('BMMAG7','01',18,'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,'' )
,('BMMAG7','01',19,'QUANTITA'' MOVIMENTATA NUOVA (3 DEC)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('BMOCA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMOCA1','01',2,'CHIAVE CESPITE+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMOCA1','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMOCA1','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BMOCA1','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BMOCA1','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BMOCA1','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,'' )
,('BMOCA1','01',8,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BMOCA1','01',9,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMOCA1','01',10,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMOCA1','01',11,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BMOCA1','01',12,'CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BMOCA1','01',13,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('BMOCA1','01',14,'GIORNI AMMORTAMENTI',2,'GGGAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('BMOCA1','01',15,'VALORE CESPITE',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,'' )
,('BMOCA1','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BMOCA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMOCA2','01',2,'CHIAVE CESPITE+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMOCA2','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BMOCA2','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BMOCA2','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BMOCA2','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BMOCA2','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,'' )
,('BMOCA2','01',8,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BMOCA2','01',9,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMOCA2','01',10,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BMOCA2','01',11,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BMOCA2','01',12,'NUMERO RIGA ANNOTAZIONE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BMOCA2','01',13,'ANNOTAZIONE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BMOCA2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('BNUOI2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BNUOI2','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BNUOI2','01',3,'TIPO',2,'FLGTIP',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BNUOI2','01',6,'FINO AD ANNI',2,'ANNLIM',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BNUOI2','01',7,'FINO A VITI',2,'VITLIM',4,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BNUOI2','01',8,'PERCENTUALE PRODUZIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BNUOI2','01',9,'PERCENTUALE TOLLERANZA DOC',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BNUOI2','01',10,'SCELTA VENDEMMIALE IGT ( /S)',2,'SCVIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
