in reply to problems with ODBC...
Your prepare statement is failing for some reason, and hence returning an undef $sth Make your connect line the following, and it'll tell you what's wrong:
$dbh=DBI->connect("dbi:ODBC:'driver=Microsoft Access Driver (*.mdb); d +bq=test.mdb'", '', '', {RaiseError=>1} );
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: problems with ODBC...
by nickel (Initiate) on Jan 29, 2002 at 03:03 UTC | |
by Ineffectual (Scribe) on Jan 29, 2002 at 05:19 UTC | |
by nickel (Initiate) on Jan 29, 2002 at 10:21 UTC | |
by dws (Chancellor) on Jan 29, 2002 at 10:25 UTC | |
|
Re: Re: problems with ODBC...
by nickel (Initiate) on Jan 29, 2002 at 10:25 UTC |