Install http://rubyforge.org/projects/ruby-oci8/

And example of code:

require 'oci8'

connection = OCI8.new(<user>, <pass>, <scheme>)
sql = 'select * from table'

connection.exec(sql) do |row|
   puts row
end


On 21 июл, 17:06, Dheeraj Gambhir <checktestingthi...@gmail.com>
wrote:
> Hi All,
>
> I have tried my level best to connect to oracle using ruby but all in
> vain.
>
> Can any one provide concrete steps to follow to do that.
> Please list down what all we require for this.
>
> Thanks in advance.
>
> Regards
> Dheeraj Gambhir
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to