Hi all,
i'm trying to loda a textfile into a tabel (called login) with this sql-string:
[blue]load data local infile 'C:\\login.txt' into table login(login,pwd) LINES TERMINATED BY '\r\n';[/blue]
But all i get is an error saying that i have a typo in my SQL string.
Weird thing is that when i remove the ' (login,pwd) part, it WILL read it, but then the tables are all wrong (coz i also have an autoincrement in first column)
Any tips please?!
Thanks in advance!
Remvs
i'm trying to loda a textfile into a tabel (called login) with this sql-string:
[blue]load data local infile 'C:\\login.txt' into table login(login,pwd) LINES TERMINATED BY '\r\n';[/blue]
But all i get is an error saying that i have a typo in my SQL string.
Weird thing is that when i remove the ' (login,pwd) part, it WILL read it, but then the tables are all wrong (coz i also have an autoincrement in first column)
Any tips please?!
Thanks in advance!
Remvs