in reply to Re^2: DBI Prematurely Disconnecting
in thread DBI Prematurely Disconnecting
I guess any complex procedures should always use this just in case. I just assume that DBI/DBD would somehow know if a stored procedure is still running or not regardless of how many resultsets it has received. Thank you for your help.my $sthTestProc1 = $dbhTestInsert->prepare(qq/exec spTestSelectAndUpda +te/); $sthTestProc1->execute(); do { my @row; while (@row = $sthTestProc1->fetchrow_array()) { # do stuff here } } while ($sthTestProc1->{odbc_more_results});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: DBI Prematurely Disconnecting
by mje (Curate) on Oct 09, 2013 at 17:52 UTC | |
Re^4: DBI Prematurely Disconnecting
by mpeppler (Vicar) on Oct 11, 2013 at 05:13 UTC | |
by perldc (Initiate) on Oct 14, 2013 at 15:40 UTC |