well, it worked fine for me
i created a test table --
Code:
CREATE TABLE sysenm
( id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT
, foo VARCHAR(99)
, bar DECIMAL(5.4)
);
here's how i loaded it --
Code:
LOAD DATA INFILE 'C:/Documents and Settings/aldebaran.winxp/Desktop/s.txt'
INTO TABLE sysenm
FIELDS TERMINATED BY '\t'
( foo, bar )
and to prove i loaded it, i ran this query --
Code:
SELECT LEFT(foo,13) as qux
, COUNT(*) AS rows
, AVG(bar) AS avg_bar
, MAX(bar) AS max_bar
FROM sysenm
GROUP
BY qux
which produced these results --
Code:
qux rows avg_bar max_bar
xxxContext601 4 0.83075000 0.8550
xxxContext602 4 0.85075000 0.8660
xxxContext603 3 0.84566667 0.8810
xxxContext604 3 0.86200000 0.8770
xxxContext605 3 0.83766667 0.8670
