On 5/17/06, Jayasree <[EMAIL PROTECTED]> wrote:
> Hi,
> I need help on connecting to SQL Server and get the records from the table.I
> used
> require 'dbi'
> dbh = DBI.connect("DBI:ADO:Provider=SQLOLEDB;Data Source=(rubytest);Initial
> Catalog=Ambigo;User Id=sa;Password=sa;")

You should really consider an ODBC interface, it's probably easier to
program, and also just about every major DB has an ODBC interface.
Here is an excellent reference:
http://www.ch-werner.de/rubyodbc/odbc.html.

-Chris

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to