In the Open functions, if the open fails, change how we get
a statement handle. This will allow us to get a reasonable error message from SQL Server.
Authored by: smm 2004-03-06
Parent: [r4110]
Child: [r4112]