in reply to Re: DBI Issue with Sybase 15.5
in thread DBI Issue with Sybase 15.5

The showplan handler also handles the statistics msgs re: msg 3631 which is the line reporting actual i/o. However, the other statistics msgs are output, just not the one that I want msg 3631. I do execute sql via the program Note the statement: $dbh->dbcmd('sp_who sa'); This is a stored procedure call which contains multiple sql statements. Each sql within the stored procedure will result in a statistics report output due to the "set statistics ..." statement executed earlier in the program. I have tried a different approach which seems to work now ... after I posted this. I will post the rewritten code as a reply. I am still curious why this approach fails to output the msg 3631 text and values.

Replies are listed 'Best First'.
Re^3: DBI Issue with Sybase 15.5
by JavaFan (Canon) on Feb 14, 2012 at 09:40 UTC
    Are you sure it's a Perl or DBI issue? If you write the equivalent program in C, do you then get the expected callback?