--Dan's minstrel wrote this sql
select column1, column2
where column1 = ?
Perl's DBI (or perhaps Oracle's DBD) parses this sql properly. However, TOAD, TORA and Ruby's DBI do not. The problem, believe it or not, is the apostrophe when combined with a placeholder (although TORA seems to choke even with a hard coded value). It seems everything east of the apostrophe (inlcuding the apostrophe) is getting lumped together with the "select" clause.
I can't speak for TOAD, but the problem in Ruby's DBI lies in the simple lexer it uses to parse sql when placeholders are used. Shouldn't be too hard to fix, though.
Only five hours of work down the tubes thanks to this bug. No biggie. GAH!
Update: Michael Neumann has fixed this for the next release. Hooray!