开发者

Calling Stored procedure through Rails?

How can i acces开发者_Go百科s Stored procedure created in Mysql through rails code? I am currently using following versions for rails application:-

Rails 2.1.0

Ruby Enterprise Edition 2010.01

Thanks....


try this below: ActiveRecord::Base.connection.execute("call sp_name(param1,param2,.....)")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜