[fpc-pascal] MySQL insert, load data

Michael Van Canneyt michael at freepascal.org
Fri Feb 15 13:08:45 CET 2008



On Fri, 15 Feb 2008,  wrote:

> Try this:
> 
> q.SQL.Clear;
> q.Add('LOAD DATA INFILE ''data.txt'' INTO TABLE database.my_table;');
> q.Execute; // <-- I don't remember the correct command right now
> 

Normally it is: 

 Q.ExecSQL;

Michael.



More information about the fpc-pascal mailing list