From: Sébastien S. <sa...@us...> - 2009-07-06 18:05:24
|
Hi Jeffrey, you obtain the return status of a stored procedure this way: status = cursor.callproc(procname,args) regards -- Sébastien Sablé Jeffrey Zelt a écrit : > I have a simple question: > > > > How do I obtain the return status of a Sybase stored procedure? > > > > By return status, I mean the integer value that is returned by the > “return” statement of a Sybase stored procedure. > > > > Let us say I execute a stored procedure using: > > > > cursor.callproc(‘storedprocname’, ...) > > > > Is there any way to obtain the return status of this call? > > > > I have searched and searched and searched, but I have not found the > answer. It seems to be a simple question. Is the answer complex? > > > > Very perplexed, > > Jeffrey > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |