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/.