Hi all,auppose I have the following procedure:
CREATE OR REPLACE Procedure Calc_All_Diarias(Pviagem In Number,
                                                  Pcompl  In Varchar2)
I´m trying to call it this way:
 x = ActiveRecord::Base.connection.execute( "exec calc_all_diarias
(5107,0);")

If I put the statement directly into the PL/SQL Developer it runs just
fine,but in ROR I´m receiving a "Invalid SQL Statement"error.What am I
doing wrong?

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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to