From: Bob Smyph Date: 2013-02-23T04:26:04+09:00 Subject: IBM_DB select multiple rows I need to be able to select multiple rows in ruby. I currently have the following code: dbh = IBM_DB::connect(databaseName, "", "") sql1 = "Select * from usernames" sth = IBM_DB::exec(@dbh, sql1) row1 = IBM_DB::fetch_array(sth) puts row1 but this only returns the info for the top row returned. any and all help is welcomed. -- Posted via http://www.ruby-forum.com/.