From: Marcin Tyman Date: 2007-07-26T21:52:10+09:00 Subject: Re: MySQL Ronald Fischer wrote: >> dbh.query("source c:/create.sql") - doesn't work. It causes >> SQL syntax. > > True, but for this case, you can always do > > IO.readlines("c:/create.sql").each { |s| dbh.query(s) } > > Ronald Thanks, I'll check it. It seems to be ok. At the moment I cannot check it (the db is used) -- Posted via http://www.ruby-forum.com/.