Ты верно это подметил
- я такой по жизни
Вот строка которая получилась у меня использую твой совет:
INSERT INTO 999 Values ('01,1','03','18210606013100000110','53203834000','01','','','1239,00','32,97','','','412,97','',''), ('15,41,2','01','18210906010020000110','53203834000','01','','','','','','','','-1,12',''), ('15,41,2','01','18210906010020000110','53203834000','01','','','','','','','','-1,12',''), ('15,41,2','01','18210906010020000110','53203834000','01','','','','','','','','-1,12',''), ('52,62','03','18210601030100000110','53203834000','01','','','','','','','','-0,09',''), ('52,62','03','18210601030100000110','53203834000','01','','','','','','','','-0,09',''), ('01,1','01','18210907030050000110','53203834000','01','','','','','','','','','-100,00'), ('01,1','02','18210503000010000110','53203834000','01','1,00','0,01','','','1080,00','','1079,00','-0,01',''), ('0','03','18210606013100000110','53203834000','01','12,00','0,82','','','','24,01','','-0,82',''), ('0','01','18210503000010000110','53203834000','01','','0,14','','','13,00','','','-0,29',''), ('0','03','18210606013100000110','53203834000','01','6,46','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,04',''), ('52,62','02','18210502000020000110','53203834000','01','256,00','2,85','','0,02','','125,00','','-13,63',''), ('52,62','03','18210601030100000110','53203834000','01','','','','','','','','-0,10',''), ('0','03','18210606013100000110','53203834000','01','13,72','','','','','','','',''), ('0','03','18210606013100000110','53203834000','01','9,26','0,11','','','','','','-0,11',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,33',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,03',''), ('0','03','18210606013100000110','53203834000','01','10,63','','','','','','','',''), ('0','03','18210606013100000110','53203834000','01','15,09','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,24',''), ('0','03','18210606013100000110','53203834000','01','26,75','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','0,83','','','','23,65','','-1,56',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,34',''), ('0','03','18210606013100000110','53203834000','01','9,67','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,02',''), ('0','03','18210601030100000110','53203834000','01','','0,98','','0,01','','30,47','','-1,89',''), ('0','03','18210606013100000110','53203834000','01','10,15','0,73','','','','20,30','','-0,73',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,23',''), ('52,62','02','18210502000020000110','53203834000','01','','','','','','0,40','','-36,57',''), ('52,62','03','18210601030100000110','53203834000','01','','','','','','','','-0,20',''), ('0','09','18210601030100000110','53203834000','01','','','','','','','','-0,07',''), ('0','09','18210606013100000110','53203834000','01','7,54','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','0,41','','','','11,44','','-0,65',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,13',''), ('0','03','18210606013100000110','53203834000','01','10,97','','','','','','','',''), ('0','03','18210606013100000110','53203834000','01','5,07','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,13',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,19',''), ('0','03','18210606013100000110','53203834000','01','9,44','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,04',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,08',''), ('0','03','18210601030100000110','53203834000','01','','0,65','','0,02','','17,69','','-1,26',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,10',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,20',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,48',''), ('0','03','18210606013100000110','53203834000','01','4,57','0,35','','','','9,15','','-0,35',''), ('0','03','18210601030100000110','53203834000','01','','0,44','','0,01','','12,81','','-0,70',''), ('0','03','18210606013100000110','53203834000','01','17,83','','','','','','','',''), ('0','01','18210102021010000110','53203834000','02','','35,61','','0,20','','','','-440,35',''), ('0','03','18210502000020000110','53203834000','01','','','','','','','227,00','',''), ('0','03','18210601030100000110','53203834000','01','','0,40','','0,01','','11,02','','-0,63',''), ('0','03','18210606013100000110','53203834000','01','6,86','0,45','','','','13,72','','-0,45',''), ('0','03','18210606013100000110','53203834000','01','11,32','0,11','','','','','','-0,11',''), ('0','03','18210606013100000110','53203834000','01','8,57','','','','','','','',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,41',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,03',''), ('0','03','18210606013100000110','53203834000','01','4,25','','','','','','','',''), ('0','03','18210606013100000110','53203834000','01','18,86','','','','','','','',''), ('0','03','18210606013100000110','53203834000','01','5,26','','','','','','','',''), ('52,11','03','18210601030100000110','53203834000','01','','','','','','','','-0,20',''), ('52,11','03','18210601030100000110','53203834000','01','','','','','','','','-0,20',''), ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,67','')
Добавляется это в процедуре:
var
lADOQuery: TADOQuery;
begin
lADOQuery := TADOQuery.Create(nil);
with lADOQuery do
begin
ConnectionString := Connect_Str;
SQL.Text := add_sql;
ExecSQL;
Close;
end;
end;
До этого я добавлял построчно использую ту же процедуру в цикле:
INSERT INTO 999 Values ('01,1','03','18210606013100000110','53203834000','01','','','1239,00','32,97','','','412,97','','')
INSERT INTO 999 Values ('15,41,2','01','18210906010020000110','53203834000','01','','','','','','','','-1,12','')
…
INSERT INTO 999 Values ('0','03','18210601030100000110','53203834000','01','','','','','','','','-0,67','')