On 2/8/07, Nathan <[EMAIL PROTECTED]> wrote:
> Thanks, but that doesn't seem to work - the fetch_all method is not one of my 
> choices, when I follow your first steps.  I've successfully crashed ruby a 
> couple of times already - so here's the ultimate problem.  I desire to use my 
> database to store actual files.


That is an entirely different kettle of fish.  I know that some db's
allow it, but I am pretty sure that the storage of actual files is no
part of the SQL standard.   What happens if you do the code below?
And what is the error message that you're getting?   If you document
your problem exactly, this would be an excellent question for the
comp.lang.ruby list.

h = conn.run("SELECT * FROM table_name")
rows.each do |row|
 puts row
 end
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to