Re: multiple statements error
After you've finished with your query, try this while loop. The variable "conn" is your connection.
my_results = conn.query(statement1)
my_results.each do |rr|
. . .
end
while (conn.next_result && conn.more_results?)
conn.store_result
end
. . .
my_results = conn.query(statement2)
Subject
Written By
Posted
December 24, 2008 09:33PM
Re: multiple statements error
January 29, 2009 01:35PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.