http://qs321.pair.com?node_id=11115740


in reply to Multiple records fetches issue using DBD::ODBC in Perl

Your code lacks error checking. Start by changing the connect call to this:

my $dbh = DBI->connect("dbi:ODBC:DSN=sql_test", $database_user, $datab +ase_pass, { RaiseError => 1 });

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)