Sometimes it is necessary to reuse existing logic from stored procedures. This line of code shows how to call a stored procedure in Oracle. ActiveRecord::Base.connection.execute(‘BEGIN do_the_calculation; END;’)
Just another WordPress site
Sometimes it is necessary to reuse existing logic from stored procedures. This line of code shows how to call a stored procedure in Oracle. ActiveRecord::Base.connection.execute(‘BEGIN do_the_calculation; END;’)