Dobrý den, v xubuntu mi nefunguje v mysql příkaz into outfile'/home/...'; generuje to chybu ERROR 1064 (42000). Ve windows mi to běžně funguje, ale tady ne. Nevěděl by někdo, jak to řešit? Díky za pomoc.
ERROR 1064 (42000) je SQL syntax error. Nechybí ti tam jenom mezera mezi outfile a stringem? Pouzivas spravnou databazi?
a hlavne posli cely prikaz a vloz to tady do "kódu"
Díky za odpovědi. Je to
select *from hospodar where id between 1246 and 1363 union (select *from hospodar where castka <0) into outfile '/home/ma68/Plocha/vydaje.csv'fields terminated by ';';
Citace od: marcel kdy 12. 09. 2018, 23:44:01
Díky za odpovědi. Je to
select *from hospodar where id between 1246 and 1363 union (select *from hospodar where castka <0) into outfile '/home/ma68/Plocha/vydaje.csv'fields terminated by ';';
Tak předně tam chybí pár mezer ;)))
select * from hospodar where id between 1246 and 1363 union (select * from hospodar where castka <0) into outfile '/home/ma68/Plocha/vydaje.csv' fields terminated by ';';