godspeed06
Vendor
Greetings,
I have a script that connects to a database, which $sth->fetchrow_array stores in an array. Then I walk through the array and run a application utility against each table found. Below is error when running the script:
ERROR:
DBI::db=HASH(0x311db4)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at ./dbscript.pl line 67.
Script:
this is line :67
********************
$dbh->disconnect( );
I have a script that connects to a database, which $sth->fetchrow_array stores in an array. Then I walk through the array and run a application utility against each table found. Below is error when running the script:
ERROR:
DBI::db=HASH(0x311db4)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at ./dbscript.pl line 67.
Script:
this is line :67
********************
$dbh->disconnect( );