Hi all,
I have a procedure in which I pass two integers and two dates and get
two integer as the result.How could I read the response with ROR?
Here“s my code:
ActiveRecord::Base.connection.execute("DECLARE RESULTV NUMBER; RESULTBC
NUMBER; BEGIN
PODEVIAJAR(112,to_date('21/10/2009','DD/MM/YYYY'),to_date('22/10/2009','DD/MM/YYYY'),RESULTV,RESULTBC,26112);
END;")
How could I fetch the value of the RESULTV and RESULTBC variables?
Thanks,
Rafael Roque
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---