Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: punkpulsePosted on 2005-10-28 at 10:41:27ID: 15181096
http://msdn.microsoft.com/ library/de fault.asp? url=/libra ry/ en-us/t rblsql/tr_ err_odbc_5 stz.asp
01000 is "general warning" -- your connection was successful. your problem is that you are checking for the existance of DBI->errstr rather than the defined value of $dbh. you should never try to check for an error condition setting unless the function has failed. since you never check the value of the DBI::connect call, your logic is flawed.