I want to import the follow data (without separators between fields):
20232045001100000700002769T011998-01-22 0001-01-01 0001-01-01 0 1998-01-22-13.48.03.363642
20168752001100000700037166T011997-10-21 0001-01-01 0001-01-01 0 1997-10-21-19.00.50.529609
20195936001100000700793006T011997-11-18 0001-01-01 0001-01-01 0 1997-11-18-17.59.30.518192
and this is the structure.
CREATE TABLE `tabla008` (
`numclien` varchar(8) NOT NULL DEFAULT '',
`centidad` varchar(4) NOT NULL DEFAULT '',
`coficina` varchar(4) NOT NULL DEFAULT '',
`digcontr` varchar(2) NOT NULL DEFAULT '',
`ccuenta` varchar(8) NOT NULL DEFAULT '',
`clainter` varchar(1) NOT NULL DEFAULT '',
`secinter` varchar(2) NOT NULL DEFAULT '',
`fealrela` varchar(10) NOT NULL DEFAULT '0000-00-00',
`space1` varchar(1) NOT NULL DEFAULT '',
`fechape` varchar(10) NOT NULL DEFAULT '0000-00-00',
`space2` varchar(1) NOT NULL DEFAULT '',
`fecancel` varchar(10) NOT NULL DEFAULT '0000-00-00',
`peyestat` varchar(1) NOT NULL DEFAULT '',
`indaviso` varchar(1) NOT NULL DEFAULT '',
`iugestor` varchar(6) NOT NULL DEFAULT '',
`pehstamp` varchar(26) NOT NULL DEFAULT '',
`indcoext` varchar(1) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
(I have to put all in VARCHAR for test) Then, I want import this data with this sentence SQL
LOAD DATA LOCAL INFILE 'c:/mis/RBA/RBACalidad/Entradas/PEBC.PEFD.FIX.UNLO.TABLA008.D1140813.TXT'
INTO TABLE tabla008
FIELDS TERMINATED BY '' LINES TERMINATED BY '\r\n';
But, when run it, the result is:

And the result must be:

I don't understand why this is the result, if my sentence SQL is fine!
Thanks
datatypes. There are specific types of data for each different data and instead you're giving everything the typevarcharwhich is REALLY BAD considering the data you have!