Re: Struggling with inout on a procedure call

2001-09-27 Thread Tim Bunce
Certainly use trace(). Maybe use more generous buffer sizes. Tim. On Wed, Sep 26, 2001 at 04:09:30PM -0500, Jones Robert Contr 81 CS/SCK wrote: Trying to get output from a procedure call. Definitely being a pain. Yes, yes, I've looked at perldoc DBD::Oracle and that didn't seem to work.

Struggling with inout on a procedure call

2001-09-26 Thread Jones Robert Contr 81 CS/SCK
Trying to get output from a procedure call. Definitely being a pain. Yes, yes, I've looked at perldoc DBD::Oracle and that didn't seem to work. I've even read up on perldoc.com about DBI, and various other websites. Running out of options. stats: Windows NT client/server with Oracle 8.1.5

RE: Struggling with inout on a procedure call

2001-09-26 Thread Wilson, Doug
From: Jones Robert Contr 81 CS/SCK $dbh=DBI-connect($data, $login, $pw) || die $dbh-errstr\n; $dbh-errstr\n; END;) || die $dbh-errstr\n; Probably not related to your specific problem, but: Putting $dbh-errstr inside quotes is wrong. Double quotes will interpolate variables, but

RE: Struggling with inout on a procedure call

2001-09-26 Thread Wilson, Doug
calls. And if you're going to die on any error anyway, you may as well put {RaiseError=1} in the connect and save yourself from all those '|| die ...' clauses. And I forgot to mention, that you're not currently checking the status of the bind_param or execute statements, so RaiseError might