On Wed, 2002-07-03 at 09:28, Accardo, Glen wrote: > > I just tried to prepare/execute/fetch results for the following > a dbcc call in MS SQL Server. I get an error stating that > there is no select statement running--which is true. > > Is there a mechanism for getting the results of DBCC calls through > DBI? The do method doesn't seem to return anything more than > pass/fail, and what I need is all of the output from the > DBCC calls.
DBCC output is sent as "error" messages. DBD::Sybase handles this by letting you define an ad-hoc error handler. Maybe DBD::ODBC has the same sort of functionality. Michael -- Michael Peppler / [EMAIL PROTECTED] / http://www.mbay.net/~mpeppler [EMAIL PROTECTED] / ZetaTools, Inc / http://www.zetatools.com ZetaTools: Call perl functions as Sybase stored procedures!
signature.asc
Description: This is a digitally signed message part