You may also find a lot more folks who know about doing this sort of thing in the main ruby forums than you will here where many of the folks have never needed to connect to a db (or if they did it was mysql or ms-sql) in order to test against a web UI.
On Jul 21, 8:36 am, karim rayani <karim....@gmail.com> wrote: > you can also use the db2 library or the active record library they are > better then the OCI8 stuff > > On Tue, Jul 21, 2009 at 7:14 PM, Dheeraj > > > > > > Gambhir<checktestingthi...@gmail.com> wrote: > > > Hi, > > > I am getting oci.dll missing error on running the code given by you: > > > require 'oci8' > > > connection = OCI8.new(mlbread,mlbread,MLBD) > > sql = 'select * from bam_order.ec_invoice where > > created_date>sysdate-2' > > > connection.exec(sql) do |row| > > puts row > > end > > > Regards > > D G > > > On Jul 21, 6:25 pm, Ivan Kabluchkov <ikabluch...@gmail.com> wrote: > >> Installhttp://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 > > -- > Regards, > > Alkarim Rayani- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---