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/.