Feature Requests: Browse | Submit New | Admin
Hi, With Oracle you can run external .sql files using 'start' or '@' (I'm not sure how other vendors handle this). There doesn't appear to be a way to do something like: require 'dbi' require 'dbi/dbrc' db = DBI::DBRC.new('gdbt', 'dan') dbh = DBI.connect(db.dsn, db.user, db.passwd) dbh.execute('start test.sql') dbh.disconnect Can you add support for this please? Regards, Dan
Add A Comment:
Date: 2009-09-21 21:53 Sender: Erik Hollensbe Hi Dan, I can't see a way of doing this without reading the sql file in ourselves, is this what you were getting at, or did you mean something different?