Permalink
Browse files

few info

  • Loading branch information...
1 parent 30b94db commit 9ccea3c8f8faf340b5c5758cc6daa4bd32fb61d5 Claudio committed Jan 27, 2009
Showing with 21 additions and 0 deletions.
  1. +21 −0 README
View
21 README
@@ -0,0 +1,21 @@
+Rodbtp is a ruby binding for the odbtp library
+(http://odbtp.sourceforge.net)
+
+To use you need to install first odbtp and
+in the same directory compile rodbtp.c file,
+futures release will have a correct extconf.rb,
+
+example:
+
+require 'rodbtp'
+
+rodb = Rodbtp.new
+rodb.connect(hostname, tcp_port, odbc_string_connection)
+
+qry = rodb.query("Select * from Customers")
+
+qry.each do |row|
+ puts row.inspect
+end
+
+rodb.disconnect

0 comments on commit 9ccea3c

Please sign in to comment.