Re: ruby mysql module frage - mehrere INSERT auf einmal

[email protected]
Newsgroups gmane.comp.lang.ruby.german
Message-ID <[email protected]>
> aber via ruby gibt es folgenden fehler:
> ./create.rb:23:in `query': You have an error in your SQL syntax near
> ';INSERT 
> INTO words VALUES('Haus', 'house', 'maison', 'casa', 'casa')' at line 1 
> (MysqlError)
>         from ./create.rb:23


wie waere es, wenn du ein \n, also ein newline einfuegst, dann entsteht
naemlich kein

blablabla;INSERT blabla

sondern

blablabla;
INSERT

andere idee waere 'n whitespach

-- 
halof

tobias

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.