in reply to win32::odbc/ SQL error
I am 90% sure that you're problem is that the database connection is failing. This would result in your database handle being undefined. Invalid username/password combo, non-exitsent database, something like that. The fix is to change your first line to the following and examine the error message produced:
my $db = new Win32::ODBC('user_logons') or die "db connect failed: $!";
If the above content is missing any vital points or you feel that any of the information is misleading, incorrect or irrelevant, please feel free to downvote the post. At the same time, please reply to this node or /msg me to inform me as to what is wrong with the post, so that I may update the node to the best of my ability.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: win32::odbc/ SQL error
by billie_t (Sexton) on May 23, 2003 at 01:28 UTC | |
by JamesNC (Chaplain) on May 23, 2003 at 01:56 UTC | |
by hangmanto (Monk) on May 23, 2003 at 04:14 UTC |